Let hero stats cards auto-expand to fit long values.
Deploy Ladill POS / deploy (push) Successful in 36s

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:39 +00:00
parent b938eed3cb
commit fa58c7e283
+8 -2
View File
@@ -101,7 +101,10 @@ 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;
}
@layer components {
@@ -161,7 +164,10 @@ html.qr-mobile-page body {
@media (min-width: 640px) {
.mobile-stats-card {
width: auto;
width: max-content;
min-width: 9rem;
max-width: none;
flex: 1 1 auto;
}
}