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;