Skip to content

Commit 2e22a1d

Browse files
committed
fixed metric card margin
1 parent 519c320 commit 2e22a1d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/pages/LeaderboardPage.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,13 @@
488488
z-index: 0;
489489
}
490490

491+
.metrics-explanation {
492+
margin-bottom: 15rem; /* give plenty of space at bottom */
493+
position: relative;
494+
overflow: visible; /* ensure expanded cards aren’t clipped */
495+
496+
}
497+
491498
.metric-card {
492499
position: relative;
493500
overflow: visible; /* ✅ prevents clipping */
@@ -509,6 +516,7 @@
509516
z-index: 10; /* ✅ bring above neighbors */
510517
box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
511518
border-left-color: transparent; /* hide border when overlay shows */
519+
512520
}
513521

514522
/* Summary always visible */

0 commit comments

Comments
 (0)