From 69f5c2982af5a7062c2490499021ef9b0b8b5161 Mon Sep 17 00:00:00 2001 From: rene Date: Tue, 12 May 2026 09:31:28 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20Gassi-Karte=200px-H=C3=B6he=20=E2=80=94?= =?UTF-8?q?=20walks-map=20height:100%=20+=20map-view=20overflow:hidden=20(?= =?UTF-8?q?SW=20by-v876)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/main.py | 2 +- backend/static/css/components.css | 7 ++++++- backend/static/index.html | 14 +++++++------- backend/static/js/app.js | 2 +- backend/static/sw.js | 2 +- 5 files changed, 16 insertions(+), 11 deletions(-) diff --git a/backend/main.py b/backend/main.py index ea20480..ebb9f82 100644 --- a/backend/main.py +++ b/backend/main.py @@ -376,7 +376,7 @@ if STAGING and os.path.isdir(PROD_MEDIA_DIR): else: app.mount("/media", StaticFiles(directory=MEDIA_DIR), name="media") -APP_VER = "875" # muss mit APP_VER in app.js übereinstimmen +APP_VER = "876" # muss mit APP_VER in app.js übereinstimmen @app.get("/.well-known/assetlinks.json") async def assetlinks(): diff --git a/backend/static/css/components.css b/backend/static/css/components.css index cb54b88..0509d07 100644 --- a/backend/static/css/components.css +++ b/backend/static/css/components.css @@ -3531,9 +3531,14 @@ html.modal-open { .walks-spots.full { color: var(--c-text-muted); } .walks-spots.today { color: var(--c-amber, #f59e0b); } .walks-map { - flex: 1; + height: 100%; + min-height: 300px; position: relative; } +/* Map-View darf nicht scrollen — Map füllt die gesamte Fläche */ +#walks-map-view { + overflow: hidden; +} .walks-participant { display: flex; align-items: center; diff --git a/backend/static/index.html b/backend/static/index.html index bf40581..1549b1c 100644 --- a/backend/static/index.html +++ b/backend/static/index.html @@ -101,9 +101,9 @@ - - - + + + @@ -583,10 +583,10 @@ - - - - + + + + diff --git a/backend/static/js/app.js b/backend/static/js/app.js index 887f785..594b1de 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 = '875'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '876'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen const APP_VERSION = '1.5.1'; // ← semantische Version, wird bei make release gesetzt const IS_STAGING = location.hostname === 'staging.banyaro.app'; // Cache-Bust-Parameter nach Update-Reload sofort entfernen diff --git a/backend/static/sw.js b/backend/static/sw.js index 797d5b7..2d83bb2 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-v875'; +const CACHE_VERSION = 'by-v876'; 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