From b2b92c2311bf83bc2ecc83accb511374ca6f7188 Mon Sep 17 00:00:00 2001 From: Jordan Walster Date: Mon, 8 Jun 2026 23:35:38 +0100 Subject: [PATCH] feat: update viewport --- web/admin.html | 2 +- web/assets/css/dashboard.css | 10 ++++++++-- web/attendees.html | 2 +- web/delivery-log.html | 2 +- web/index.html | 2 +- web/schedule.html | 2 +- web/send-now.html | 2 +- web/templates.html | 2 +- 8 files changed, 15 insertions(+), 9 deletions(-) diff --git a/web/admin.html b/web/admin.html index e8263de..091899d 100644 --- a/web/admin.html +++ b/web/admin.html @@ -3,7 +3,7 @@ - + Admin — IMFestival SMS Dashboard diff --git a/web/assets/css/dashboard.css b/web/assets/css/dashboard.css index cf8719c..c0f125d 100644 --- a/web/assets/css/dashboard.css +++ b/web/assets/css/dashboard.css @@ -409,6 +409,12 @@ body { /* ── Responsive ── */ @media (max-width: 767.98px) { .sidebar { display: none; } - .topbar { display: flex; } - .main { margin-left: 0; padding: 1rem; } + .topbar { display: flex; padding-left: max(1rem, env(safe-area-inset-left)); padding-right: max(1rem, env(safe-area-inset-right)); } + .main { + margin-left: 0; + padding-top: 1rem; + padding-left: max(1rem, env(safe-area-inset-left)); + padding-right: max(1rem, env(safe-area-inset-right)); + padding-bottom: max(2rem, env(safe-area-inset-bottom)); + } } diff --git a/web/attendees.html b/web/attendees.html index ef48f98..72954df 100644 --- a/web/attendees.html +++ b/web/attendees.html @@ -3,7 +3,7 @@ - + Attendees — IMFestival SMS Dashboard diff --git a/web/delivery-log.html b/web/delivery-log.html index a3948ef..52dcda4 100644 --- a/web/delivery-log.html +++ b/web/delivery-log.html @@ -3,7 +3,7 @@ - + Delivery Log — IMFestival SMS Dashboard diff --git a/web/index.html b/web/index.html index 399717d..286fee0 100644 --- a/web/index.html +++ b/web/index.html @@ -3,7 +3,7 @@ - + Home — IMFestival SMS Dashboard diff --git a/web/schedule.html b/web/schedule.html index b041bf0..4248f11 100644 --- a/web/schedule.html +++ b/web/schedule.html @@ -3,7 +3,7 @@ - + Schedule — IMFestival SMS Dashboard diff --git a/web/send-now.html b/web/send-now.html index 8a132e1..c70d5b0 100644 --- a/web/send-now.html +++ b/web/send-now.html @@ -3,7 +3,7 @@ - + Send SMS Now — IMFestival SMS Dashboard diff --git a/web/templates.html b/web/templates.html index f72468c..2a8a191 100644 --- a/web/templates.html +++ b/web/templates.html @@ -3,7 +3,7 @@ - + SMS Templates — IMFestival SMS Dashboard