mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-25 03:29:51 +01: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',
|
objectFit: 'contain',
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<Text style={{ textAlign: 'center' }}>{tank.name}</Text>
|
|
||||||
|
<Text
|
||||||
|
style={{
|
||||||
|
whiteSpace: 'nowrap',
|
||||||
|
maxWidth: 128,
|
||||||
|
overflow: 'hidden',
|
||||||
|
textOverflow: 'ellipsis',
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
{tank.name}
|
||||||
|
</Text>
|
||||||
</Flex>
|
</Flex>
|
||||||
</Table.ColumnHeaderCell>
|
</Table.ColumnHeaderCell>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in new issue
Block a user