From 851e6efaa2d39c80b6250e14e296e3616b297649 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 8 Feb 2025 12:32:07 +0200 Subject: [PATCH] feat(mobile): apply immersive background for all full-height --- src/public/app/widgets/geo_map.ts | 10 +--------- src/public/stylesheets/style.css | 8 ++++++++ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/public/app/widgets/geo_map.ts b/src/public/app/widgets/geo_map.ts index 5d061b8e6..acfd81507 100644 --- a/src/public/app/widgets/geo_map.ts +++ b/src/public/app/widgets/geo_map.ts @@ -11,15 +11,7 @@ const TPL = `\ height: 100%; overflow: hidden; } - - .geo-map-container { - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - } - + .leaflet-top { margin-top: calc(env(safe-area-inset-top) + var(--mobile-title-bar-height)); } diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css index 816be4158..a69a7daf5 100644 --- a/src/public/stylesheets/style.css +++ b/src/public/stylesheets/style.css @@ -67,6 +67,14 @@ body.mobile #root-widget { padding-bottom: var(--mobile-bottom-offset); } +.note-detail.full-height { + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; +} + #title-bar { position: fixed; top: 0;