From 03508f8aa31b59925c4a2a2b7911a07c71412a32 Mon Sep 17 00:00:00 2001 From: rene Date: Thu, 30 Apr 2026 08:41:41 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20#app=20height:100dvh=20statt=20position:?= =?UTF-8?q?fixed+inset:0=20=E2=80=94=20dvh=20inkl.=20safe=20areas,=20SW=20?= =?UTF-8?q?by-v533?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/static/css/layout.css | 8 ++------ backend/static/js/app.js | 2 +- backend/static/sw.js | 2 +- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/backend/static/css/layout.css b/backend/static/css/layout.css index 05f8d15..175ad72 100644 --- a/backend/static/css/layout.css +++ b/backend/static/css/layout.css @@ -7,14 +7,10 @@ /* ------------------------------------------------------------ 1. APP SHELL ------------------------------------------------------------ */ -/* Mobile: #app als fixed Container — einzig zuverlässiger iOS-PWA-Fix. - #bottom-nav braucht dann kein position:fixed mehr, er ist Flex-Kind - am unteren Rand des fixierten Containers. */ #app { - position: fixed; - inset: 0; display: flex; flex-direction: column; + height: 100dvh; /* dvh = dynamic viewport inkl. safe areas */ overflow: hidden; } @@ -38,7 +34,7 @@ body.page-fullscreen #page-content { /* Desktop: normaler Dokumentfluss, Sidebar-Layout */ @media (min-width: 768px) { #app { - position: static; + height: auto; min-height: 100dvh; overflow: visible; flex-direction: row; diff --git a/backend/static/js/app.js b/backend/static/js/app.js index edb8943..1c82b56 100644 --- a/backend/static/js/app.js +++ b/backend/static/js/app.js @@ -3,7 +3,7 @@ Router, State-Management, Navigation, Initialisierung. ============================================================ */ -const APP_VER = '509'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '510'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen const APP_VERSION = '1.0.0'; // ← semantische Version, wird bei make release gesetzt const IS_STAGING = location.hostname === 'staging.banyaro.app'; diff --git a/backend/static/sw.js b/backend/static/sw.js index 0025901..1fd0053 100644 --- a/backend/static/sw.js +++ b/backend/static/sw.js @@ -3,7 +3,7 @@ Offline-Cache + Push Notifications + Tile-Cache ============================================================ */ -const CACHE_VERSION = 'by-v532'; +const CACHE_VERSION = 'by-v533'; const CACHE_STATIC = `${CACHE_VERSION}-static`; const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten const CACHE_API = 'ban-yaro-api-v1'; // API-Response-Cache