diff --git a/resources/css/app.css b/resources/css/app.css index 35c8c02..e515b3c 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -68,12 +68,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; } } diff --git a/resources/views/qr-codes/index.blade.php b/resources/views/qr-codes/index.blade.php index b2b44a2..130a889 100644 --- a/resources/views/qr-codes/index.blade.php +++ b/resources/views/qr-codes/index.blade.php @@ -39,16 +39,16 @@ -
-
+
+

GHS {{ number_format($wallet->spendableBalance(), 2) }}

QR balance

-
+

{{ $qrCodes->count() }}

QR codes

-
+

{{ number_format($wallet->scans_total) }}

Total scans

diff --git a/resources/views/qr/campaigns/index.blade.php b/resources/views/qr/campaigns/index.blade.php index 513cac6..a2730ae 100644 --- a/resources/views/qr/campaigns/index.blade.php +++ b/resources/views/qr/campaigns/index.blade.php @@ -37,16 +37,16 @@
-
-
+
+

{{ number_format($campaignCount) }}

Campaigns

-
+

{{ number_format($activeCount) }}

Active

-
+

{{ number_format($codesInCampaigns) }}

Codes assigned