Fix: Chips gleichförmig bei großer iOS-Schriftgröße (height 74px statt min-height, max-height px statt em), SW by-v1035

This commit is contained in:
rene 2026-05-16 13:51:03 +02:00
parent a736d66c47
commit 416f32b056
4 changed files with 7 additions and 6 deletions

View file

@ -410,7 +410,7 @@ async def serve_media(path: str, request: _Request):
raise _HE(404, "Nicht gefunden.") raise _HE(404, "Nicht gefunden.")
return _media_response(filepath) 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") @app.get("/.well-known/assetlinks.json")
async def assetlinks(): async def assetlinks():

View file

@ -8004,7 +8004,7 @@ svg.empty-state-icon {
flex: 0 1 80px !important; flex: 0 1 80px !important;
min-width: 60px !important; min-width: 60px !important;
width: 80px !important; width: 80px !important;
min-height: 74px !important; height: 74px !important;
} }
/* Nav vertikal zentriert zwischen Chips und Footer */ /* Nav vertikal zentriert zwischen Chips und Footer */
#world-labels { #world-labels {
@ -8203,7 +8203,8 @@ svg.empty-state-icon {
transition: background 0.12s, transform 0.1s; transition: background 0.12s, transform 0.1s;
-webkit-tap-highlight-color: transparent; -webkit-tap-highlight-color: transparent;
user-select: none; user-select: none;
min-height: 74px; height: 74px;
overflow: hidden;
} }
.world-chip:active { .world-chip:active {
background: rgba(0, 0, 0, 0.6); background: rgba(0, 0, 0, 0.6);
@ -8215,7 +8216,7 @@ svg.empty-state-icon {
font-weight: 600; font-weight: 600;
color: rgba(255, 255, 255, 0.9); color: rgba(255, 255, 255, 0.9);
line-height: 1.2; 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; overflow: hidden;
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;

View file

@ -3,7 +3,7 @@
Router, State-Management, Navigation, Initialisierung. 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 APP_VERSION = '1.6.0'; // ← semantische Version, wird bei make release gesetzt
const IS_STAGING = location.hostname === 'staging.banyaro.app'; const IS_STAGING = location.hostname === 'staging.banyaro.app';
// Cache-Bust-Parameter nach Update-Reload sofort entfernen // Cache-Bust-Parameter nach Update-Reload sofort entfernen

View file

@ -3,7 +3,7 @@
Offline-Cache + Push Notifications + Tile-Cache Offline-Cache + Push Notifications + Tile-Cache
============================================================ */ ============================================================ */
const CACHE_VERSION = 'by-v1034'; const CACHE_VERSION = 'by-v1035';
const CACHE_STATIC = `${CACHE_VERSION}-static`; const CACHE_STATIC = `${CACHE_VERSION}-static`;
const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten
const CACHE_API = 'ban-yaro-api-v1'; // API-Response-Cache const CACHE_API = 'ban-yaro-api-v1'; // API-Response-Cache