From b86fee86dfac66c68327cf4b72acc982f90ba1d4 Mon Sep 17 00:00:00 2001 From: isaacclad Date: Fri, 3 Jul 2026 14:58:54 +0000 Subject: [PATCH] Cap public landing page logos at half the viewport width on mobile. Co-authored-by: Cursor --- resources/css/app.css | 6 ++++++ resources/views/public/qr/landing.blade.php | 10 ++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/resources/css/app.css b/resources/css/app.css index 35c8c02..6184abc 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -15,6 +15,12 @@ display: none !important; } +@media (max-width: 639px) { + .public-brand-logo { + max-width: 50vw; + } +} + /* QR create/show: flush mobile action bar to the physical screen bottom (mobile only) */ @media (max-width: 1023px) { .mobile-action-bar { diff --git a/resources/views/public/qr/landing.blade.php b/resources/views/public/qr/landing.blade.php index 38036bb..509f23d 100644 --- a/resources/views/public/qr/landing.blade.php +++ b/resources/views/public/qr/landing.blade.php @@ -216,7 +216,8 @@ @if($bizHasLogo)
{{ $bizName }} + class="public-brand-logo" + style="width:100%; height:100%; max-width:100%; object-fit:contain; padding:8px;">
@else
@@ -389,7 +390,8 @@ @if($churchHasLogo)
{{ $churchName }} + class="public-brand-logo" + style="width:100%; height:100%; max-width:100%; object-fit:contain; padding:8px;">
@else
@@ -686,7 +688,7 @@ @endif
@if($evHasLogo) - {{ $evName }} + @else
{{ $evInitials }}
@endif @@ -1234,7 +1236,7 @@
@if($hasLogo) {{ $title }} + class="public-brand-logo h-16 w-16 max-w-[50vw] flex-shrink-0 rounded-2xl object-cover shadow-lg ring-2 ring-white/30"> @else