diff --git a/backend/main.py b/backend/main.py index 3e6e5db..82e31f9 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 = "1011" # muss mit APP_VER in app.js übereinstimmen +APP_VER = "1012" # 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 17a6202..52cb71c 100644 --- a/backend/static/css/components.css +++ b/backend/static/css/components.css @@ -8649,6 +8649,34 @@ svg.empty-state-icon { font-weight: 600; } +/* ---------------------------------------------------------- + W3-Overlays Desktop: zentrierte Dialogs statt Bottom-Sheets + ---------------------------------------------------------- */ +@media (min-width: 768px) { + .w3-sheet-overlay { + justify-content: center; + align-items: center; + } + .w3-backdrop { + backdrop-filter: blur(4px); + } + .w3-sheet-panel { + border-radius: 20px; + width: 90%; + max-width: 480px; + padding: 24px; + box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4); + } + .w3-sheet-panel--scroll { + max-width: 680px; + max-height: 80vh; + } + /* all-chips Grid auf Desktop: auto-fill statt repeat(4,1fr) */ + .w3-sheet-panel--scroll [style*="grid-template-columns:repeat(4,1fr)"] { + grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)) !important; + } +} + /* ---------------------------------------------------------- Settings / Dog-Profile: Card-Sektion-Header (uppercase Label mit Border-Bottom) diff --git a/backend/static/index.html b/backend/static/index.html index f366517..52cbcc2 100644 --- a/backend/static/index.html +++ b/backend/static/index.html @@ -103,7 +103,7 @@ - + diff --git a/backend/static/js/app.js b/backend/static/js/app.js index d121211..a56e84b 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 = '1011'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '1012'; // ← 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 f4f7fc1..010599e 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-v1011'; +const CACHE_VERSION = 'by-v1012'; 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