Let hero stats cards auto-expand to fit long values.
Deploy Ladill Link / deploy (push) Successful in 1m48s

Replace fixed mobile widths and equal grid columns with content-sized cards so figures like GHS balances and storage sizes are never clipped.
This commit is contained in:
isaacclad
2026-07-24 14:53:24 +00:00
parent a1003bfa56
commit c640cb54d9
3 changed files with 16 additions and 10 deletions
+8 -2
View File
@@ -74,12 +74,18 @@ html.qr-mobile-page body {
}
.mobile-stats-card {
width: calc(66.666667% - 0.5rem);
width: max-content;
min-width: 9rem;
max-width: none;
box-sizing: border-box;
}
@media (min-width: 640px) {
.mobile-stats-card {
width: auto;
width: max-content;
min-width: 9rem;
max-width: none;
flex: 1 1 auto;
}
}