mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
feat: max tank name size
This commit is contained in:
1 parent
d46d948c66
commit
9f244452da
1 file changed
+11
-1
@@ -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>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user