From ed9dd08c142b9872b92addc85753d6e66bf8651b Mon Sep 17 00:00:00 2001 From: rene Date: Sat, 16 May 2026 09:57:00 +0200 Subject: [PATCH] Desktop: Einheitliche Seitenbreite 860px via pc-desktop Klasse MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - app.js: _applyDesktopWidth() setzt nach Page-Init die Klasse pc-desktop auf dem ersten Kind-Div aller Standard-Seiten (excl. admin/map/chat/etc.) - layout.css: .pc-desktop { max-width:860px !important; margin:0 auto } - layout.css: .page-container ab 768px auf 860px (statt erst 1024px) - main.py: /force-update Text "Service Worker wird entfernt" → "Wir besorgen neue Leckerlis 🦴" - layout.css ?v=1013, components.css ?v=1010, SW by-v1014, APP_VER 1014 --- backend/main.py | 6 +++--- backend/static/css/layout.css | 17 ++++++++++++++--- backend/static/index.html | 2 +- backend/static/js/app.js | 21 ++++++++++++++++++++- backend/static/sw.js | 2 +- 5 files changed, 39 insertions(+), 9 deletions(-) diff --git a/backend/main.py b/backend/main.py index 4c685df..3b6130c 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 = "1013" # muss mit APP_VER in app.js übereinstimmen +APP_VER = "1014" # muss mit APP_VER in app.js übereinstimmen @app.get("/.well-known/assetlinks.json") async def assetlinks(): @@ -1724,8 +1724,8 @@ async def force_update(): height:100vh;margin:0;background:#0f1623;color:#fff;flex-direction:column;gap:16px} p{color:#94a3b8;font-size:14px} -
⏳ Aktualisiere Ban Yaro…
-

Service Worker wird entfernt…

+
⏳ Einen Moment…
+

Wir besorgen neue Leckerlis 🦴