From 2943f986374ac856a80d94aa9036cf78b61f7933 Mon Sep 17 00:00:00 2001 From: rene Date: Thu, 30 Apr 2026 09:46:36 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20Desktop-Mausrad=20=E2=80=94=20#page-cont?= =?UTF-8?q?ent=20height:100dvh+overflow-y:auto=20auf=20Desktop,=20interner?= =?UTF-8?q?=20Scroll,=20SW=20by-v538?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/static/css/layout.css | 10 +++++----- backend/static/js/app.js | 2 +- backend/static/sw.js | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/backend/static/css/layout.css b/backend/static/css/layout.css index 3f266f9..aeae73b 100644 --- a/backend/static/css/layout.css +++ b/backend/static/css/layout.css @@ -30,14 +30,14 @@ flex-direction: row; } #page-content { + height: 100dvh; /* feste Höhe → overflow-y:auto scrollt intern + Mausrad */ min-height: unset; - overflow-y: visible; - overflow-x: visible; - overscroll-behavior-y: auto; /* Mausrad-Scroll auf Desktop erlauben */ - padding-bottom: 0; + overflow-y: auto; + overflow-x: hidden; + overscroll-behavior-y: auto; + padding-bottom: var(--space-6); padding-left: var(--nav-sidebar-width); } - /* Kein overscroll-block auf Desktop */ html, body { overscroll-behavior: auto; } diff --git a/backend/static/js/app.js b/backend/static/js/app.js index ea51e44..d0052c5 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 = '514'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '515'; // ← 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 9cb4d48..2a0aa54 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-v537'; +const CACHE_VERSION = 'by-v538'; 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