From c8246e211fcbeed059b20a30d041b707d7a569c1 Mon Sep 17 00:00:00 2001 From: Jared Pereira Date: Tue, 4 Feb 2025 16:22:31 -0500 Subject: [PATCH] add padding to the pwa to work on ios and theme colors on android Squashed commit of the following: commit 113d23b446c852492b1b207e420a985409a59a5a Author: Jared Pereira Date: Tue Feb 4 16:21:44 2025 -0500 add some more pwa-padding and dynamic theme color on android commit 16433bd6b6f05328a98af9505af45368d376a7e4 Author: Jared Pereira Date: Tue Feb 4 15:15:21 2025 -0500 aadd basic pwa padding --- app/[leaflet_id]/Leaflet.tsx | 4 ++-- app/globals.css | 7 +++++++ app/home/LoggedOutWarning.tsx | 2 +- app/home/page.tsx | 10 ++++++++-- app/layout.tsx | 1 + components/MobileFooter.tsx | 4 ++-- components/ThemeManager/ThemeProvider.tsx | 5 ++++- components/ViewportSizeLayout.tsx | 8 +++++++- 8 files changed, 32 insertions(+), 9 deletions(-) diff --git a/app/[leaflet_id]/Leaflet.tsx b/app/[leaflet_id]/Leaflet.tsx index 0970289f..582faba4 100644 --- a/app/[leaflet_id]/Leaflet.tsx +++ b/app/[leaflet_id]/Leaflet.tsx @@ -37,10 +37,10 @@ export function Leaflet(props: { - {/* we need the padding bottom here because if we don't have it the mobile footer will cut off + {/* we need the padding bottom here because if we don't have it the mobile footer will cut off the dropshadow on the page... the padding is compensated by a negative top margin in mobile footer */}