Skip to content

Commit

Permalink
fix: fix panel
Browse files Browse the repository at this point in the history
  • Loading branch information
solveit-rodion-kuhty committed Sep 22, 2023
1 parent 5aadd86 commit bfaeece
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions packages/ui/src/widgets/Leaderboard/TopWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const WidgetWrapper = styled(ModalWrapper)(({ tournament }: { tournament?: boole
minHeight: 265,
'@media (max-width: 600px)': {
width: 'auto',
maxHeight: tournament ? '100%' : 'auto',
maxHeight: tournament ? '100%' : 325,
},
}));

Expand All @@ -36,18 +36,12 @@ const DaysLeft = styled.div(({ tournament }: { tournament?: boolean }) => ({
fontSize: 14,
display: 'none',
textAlign: 'center',
position: 'absolute',
left: '-30px',
top: '-80px',
minWidth: 168,
textTransform: 'uppercase',
...(tournament
? {
padding: '7px 15px',
position: 'relative',
display: 'block',
top: '0',
left: '0',
width: '151px',
margin: '4px auto 14px auto',
}
Expand Down

0 comments on commit bfaeece

Please sign in to comment.