Skip to content

Commit

Permalink
improve leaderboard on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
SheepTester committed Nov 4, 2024
1 parent 56a39a4 commit 43dc66f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/components/onboarding/Leaderboard/style.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
overflow: hidden;
position: relative;

@media (max-width: vars.$breakpoint-sm) {
--leaderboard-height: 6rem;
@media (max-width: vars.$breakpoint-md) {
--leaderboard-height: 5rem;
}

.row {
Expand All @@ -17,5 +17,11 @@
right: 0;
top: 0;
transition: transform 0.2s;

@media (max-width: vars.$breakpoint-sm) {
img {
display: none;
}
}
}
}

0 comments on commit 43dc66f

Please sign in to comment.