style: fix player stats bar on mobile

This commit is contained in:
vidvidvid
2022-02-04 13:21:06 +01:00
committed by Scott Stevenson
parent 23048c3625
commit 17ce0455f9

View File

@@ -121,7 +121,7 @@ export const PlayerStatsBar = () => {
alt="XP"
boxSize="1.5rem"
/>
<Text color="#FFF" lineHeight={2} fontSize={20}>
<Text color="#FFF" lineHeight={2}>
{Math.trunc(player.totalXP).toLocaleString()}
</Text>
</HStack>
@@ -140,7 +140,7 @@ export const PlayerStatsBar = () => {
alt="Seed"
boxSize="1.5rem"
/>
<Text color="#FFF" lineHeight={2} fontSize={20}>
<Text color="#FFF" lineHeight={2}>
{parseInt(
amountToDecimal(pSeedBalance || '0', 18),
10,