Skip to content

Commit

Permalink
fix leaderboard formatting on long ens (#5258)
Browse files Browse the repository at this point in the history
  • Loading branch information
walmat authored Dec 14, 2023
1 parent 76f0057 commit f37df71
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/screens/points/components/LeaderboardRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export const LeaderboardRow = ({
/>
)}
<Stack space="8px">
<Box style={{ maxWidth: 145 }}>
<Box style={{ maxWidth: rank <= 3 ? 120 : 140 }}>
<Text
color="label"
weight="bold"
Expand All @@ -244,14 +244,6 @@ export const LeaderboardRow = ({
{ens ? ens : formattedAddress}
</Text>
</Box>
{/* <Inline space="2px" alignVertical="center">
<Text color="labelQuaternary" size="11pt" weight="bold">
􀙬
</Text>
<Text color="labelQuaternary" size="13pt" weight="semibold">
{`40 ${i18n.t(i18n.l.points.points.days)}`}
</Text>
</Inline> */}
</Stack>
</Inline>
<Inline space="8px" alignVertical="center">
Expand Down

0 comments on commit f37df71

Please sign in to comment.