Skip to content

Commit 3a91c9f

Browse files
committed
fix: made the leaderboard section mobile responsive
1 parent a696f72 commit 3a91c9f

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

src/pages/leaderboard.module.css

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ body {
8686
box-shadow: var(--box-shadow);
8787
height: 180px;
8888
box-sizing: border-box;
89-
margin-bottom: 20px
89+
margin-bottom: 20px;
9090
}
9191

9292
.contributorCard:hover {
@@ -169,3 +169,23 @@ body {
169169
width: 80%;
170170
background-color: var(--background-color);
171171
}
172+
173+
@media (max-width: 768px) {
174+
.flexRow {
175+
flex-direction: column;
176+
}
177+
178+
.leftBox,
179+
.rightBox {
180+
width: 100%;
181+
}
182+
183+
.topThreeLeft .topThreeRow {
184+
flex-direction: column;
185+
gap: 20px;
186+
}
187+
188+
.paginationButtons {
189+
justify-content: center;
190+
}
191+
}

0 commit comments

Comments
 (0)