From 1056824be3df4e43b3974450df479326cd2a571d Mon Sep 17 00:00:00 2001 From: rene Date: Thu, 30 Apr 2026 07:53:33 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20Routen-Seite=20aus=20FULLSCREEN=5FPAGES?= =?UTF-8?q?=20=E2=80=94=20window-scroll=20statt=20interner=20Container,=20?= =?UTF-8?q?SW=20by-v528?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/static/css/components.css | 3 +-- backend/static/css/layout.css | 11 ++--------- backend/static/js/app.js | 4 ++-- backend/static/sw.js | 2 +- 4 files changed, 6 insertions(+), 14 deletions(-) diff --git a/backend/static/css/components.css b/backend/static/css/components.css index 073821a..703a489 100644 --- a/backend/static/css/components.css +++ b/backend/static/css/components.css @@ -2590,8 +2590,7 @@ html.modal-open { .rk-layout { display: flex; flex-direction: column; - height: 100%; - overflow: hidden; + min-height: 100dvh; background: var(--c-bg); } .rk-header { diff --git a/backend/static/css/layout.css b/backend/static/css/layout.css index 0d9e322..1b8711e 100644 --- a/backend/static/css/layout.css +++ b/backend/static/css/layout.css @@ -171,16 +171,9 @@ body.page-fullscreen #page-content { position: relative; } -/* Routen: volle Höhe damit .rk-layout height:100% auflöst und - das Grid intern scrollt (nicht die gesamte Seite via #page-content) */ -#page-routes { - height: 100%; - overflow: hidden; -} +/* Routen: window-scroll (kein overflow:hidden), padding entfernt */ #page-routes > .page-body { - padding: 0 !important; - overflow: hidden; - height: 100%; + padding: 0 !important; } /* ------------------------------------------------------------ diff --git a/backend/static/js/app.js b/backend/static/js/app.js index 476fe49..b79430f 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 = '504'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '505'; // ← 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'; @@ -88,7 +88,7 @@ const App = (() => { // ---------------------------------------------------------- // ROUTER // ---------------------------------------------------------- - const _FULLSCREEN_PAGES = new Set(['map', 'routes', 'walks', 'sitting', 'chat']); + const _FULLSCREEN_PAGES = new Set(['map', 'walks', 'sitting', 'chat']); function navigate(pageId, pushHistory = true, params = {}) { if (!pages[pageId]) return; diff --git a/backend/static/sw.js b/backend/static/sw.js index 011719c..e950a91 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-v527'; +const CACHE_VERSION = 'by-v528'; 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