fix: generic stats name overflow

This commit is contained in:
TrèsAbhi committed 2023-10-17 22:06:50 -05:00
1 parent dfeb117663
commit c3d2a81327
1 file changed
+10 -1
@@ -15,9 +15,18 @@ export default function GenericStatsRow({ stat }: GenericStatsRowProps) {
alignItems: 'center', alignItems: 'center',
}} }}
> >
<span style={{ color: theme.colors.textLowContrast, fontSize: 16 }}> <span
style={{
color: theme.colors.textLowContrast,
fontSize: 16,
whiteSpace: 'nowrap',
maxWidth: 128,
overflow: 'hidden',
}}
>
{stat[0]} {stat[0]}
</span> </span>
<span <span
style={{ style={{
color: theme.colors.textHighContrast, color: theme.colors.textHighContrast,