From 466b4a3d6d5de35e0661c49d0ade175770815a15 Mon Sep 17 00:00:00 2001 From: rene Date: Thu, 30 Apr 2026 10:42:47 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20overscroll-behavior-y:none=20nur=20mobil?= =?UTF-8?q?e=20(max-width:767px)=20=E2=80=94=20Desktop-Mausrad=20freigegeb?= =?UTF-8?q?en,=20SW=20by-v542?= 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, 9 insertions(+), 3 deletions(-) diff --git a/backend/static/css/layout.css b/backend/static/css/layout.css index 7179f06..7204ce9 100644 --- a/backend/static/css/layout.css +++ b/backend/static/css/layout.css @@ -21,7 +21,13 @@ overflow-x: hidden; padding-bottom: calc(var(--nav-bottom-height) + var(--safe-bottom) + 16px); -webkit-overflow-scrolling: touch; - overscroll-behavior-y: none; /* iOS: verhindert Bounce der nav driften lässt */ +} + +/* Mobile only: iOS-Bounce verhindert dass fixed-Nav driftet */ +@media (max-width: 767px) { + #page-content { + overscroll-behavior-y: none; + } } /* Desktop: Sidebar-Layout — kein Bottom-Nav, natürliche Höhe */ diff --git a/backend/static/js/app.js b/backend/static/js/app.js index 7ea3b71..e4f12b2 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 = '518'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '519'; // ← 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 8a13e3e..6e20c45 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-v541'; +const CACHE_VERSION = 'by-v542'; 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