diff --git a/resources/css/app.css b/resources/css/app.css index 4547a36..e358141 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -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; } } diff --git a/resources/views/merchant/products/index.blade.php b/resources/views/merchant/products/index.blade.php index e34c7b7..6f47350 100644 --- a/resources/views/merchant/products/index.blade.php +++ b/resources/views/merchant/products/index.blade.php @@ -30,16 +30,16 @@ -
-
+
+

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

Account balance

-
+

{{ number_format($productCount) }}

Products

-
+

{{ number_format($activeCount) }}

Active

diff --git a/resources/views/merchant/storefronts/index.blade.php b/resources/views/merchant/storefronts/index.blade.php index 23e87b0..3519f97 100644 --- a/resources/views/merchant/storefronts/index.blade.php +++ b/resources/views/merchant/storefronts/index.blade.php @@ -38,16 +38,16 @@
-
-
+
+

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

Account balance

-
+

{{ $qrCodes->count() }}

Storefronts

-
+

{{ number_format($activeCount) }}

Active

diff --git a/resources/views/qr-codes/index.blade.php b/resources/views/qr-codes/index.blade.php index 34feb37..d849faf 100644 --- a/resources/views/qr-codes/index.blade.php +++ b/resources/views/qr-codes/index.blade.php @@ -38,16 +38,16 @@
-
-
+
+

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

Account balance

-
+

{{ $qrCodes->count() }}

Events

-
+

{{ number_format($totalRegistrations) }}

Registrations