fix(home): restore 8px rhythm between SlaBadge and stat grid

SlaBadge is rendered conditionally between the banner row and the
stat strip. Neither neighbour sets a top margin, so the badge was
sitting flush against the stats and reading as a banner appendage
instead of its own strip. Give it the page's 8px rhythm.
This commit is contained in:
pnoker
2026-05-05 00:40:15 +08:00
parent f301515324
commit 2e99a72cf4
+8
View File
@@ -131,6 +131,14 @@
}
}
// SlaBadge is conditionally rendered between the banner row and the
// stat grid. Neither neighbour sets a top margin, so by default the
// badge sits flush against the stats. Restore the page's 8px rhythm
// so it reads as its own strip, not as a banner appendage.
.sla-badge {
margin-bottom: 8px;
}
// Stat indicators: always fit the strip on one line, regardless of how
// many cards the cards computed property ends up with. Below 1280px
// (tablet / mobile) fall back to 2 cols so cards don't squeeze below