From 416f32b0564667c17d3651ba8e97fbe97ac3e031 Mon Sep 17 00:00:00 2001 From: rene Date: Sat, 16 May 2026 13:51:03 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20Chips=20gleichf=C3=B6rmig=20bei=20gro?= =?UTF-8?q?=C3=9Fer=20iOS-Schriftgr=C3=B6=C3=9Fe=20(height=2074px=20statt?= =?UTF-8?q?=20min-height,=20max-height=20px=20statt=20em),=20SW=20by-v1035?= 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/js/app.js | 2 +- backend/static/sw.js | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/backend/main.py b/backend/main.py index dac8586..b0de7f5 100644 --- a/backend/main.py +++ b/backend/main.py @@ -410,7 +410,7 @@ async def serve_media(path: str, request: _Request): raise _HE(404, "Nicht gefunden.") return _media_response(filepath) -APP_VER = "1034" # muss mit APP_VER in app.js übereinstimmen +APP_VER = "1035" # 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 82274fc..41d4e27 100644 --- a/backend/static/css/components.css +++ b/backend/static/css/components.css @@ -8004,7 +8004,7 @@ svg.empty-state-icon { flex: 0 1 80px !important; min-width: 60px !important; width: 80px !important; - min-height: 74px !important; + height: 74px !important; } /* Nav vertikal zentriert zwischen Chips und Footer */ #world-labels { @@ -8203,7 +8203,8 @@ svg.empty-state-icon { transition: background 0.12s, transform 0.1s; -webkit-tap-highlight-color: transparent; user-select: none; - min-height: 74px; + height: 74px; + overflow: hidden; } .world-chip:active { background: rgba(0, 0, 0, 0.6); @@ -8215,7 +8216,7 @@ svg.empty-state-icon { font-weight: 600; color: rgba(255, 255, 255, 0.9); line-height: 1.2; - max-height: 2.4em; /* max. 2 Zeilen */ + max-height: 24px; /* 2 Zeilen bei 10px — px statt em, damit iOS-Schriftgröße nicht skaliert */ overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; diff --git a/backend/static/js/app.js b/backend/static/js/app.js index 4e00cf1..4a43d11 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 = '1034'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '1035'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen const APP_VERSION = '1.6.0'; // ← 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 f2a3dd2..6ade08d 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-v1034'; +const CACHE_VERSION = 'by-v1035'; 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