feat: max tank name size

This commit is contained in:
TrèsAbhi committed 2024-04-06 17:53:22 -05:00
1 parent d46d948c66
commit 9f244452da
1 file changed
+11 -1
+11 -1
View File
@@ -399,7 +399,17 @@ export default function Page() {
objectFit: 'contain',
}}
/>
<Text style={{ textAlign: 'center' }}>{tank.name}</Text>
<Text
style={{
whiteSpace: 'nowrap',
maxWidth: 128,
overflow: 'hidden',
textOverflow: 'ellipsis',
}}
>
{tank.name}
</Text>
</Flex>
</Table.ColumnHeaderCell>
);