From fab1bddd3c52f7bdc0e51e64010fdca85a415f57 Mon Sep 17 00:00:00 2001 From: Dotty Dotter Date: Tue, 28 Apr 2026 00:37:55 +0200 Subject: [PATCH] fix(v2): Hamburger-Toggle wirklich ausblenden (Specificity-Konflikt + Cache) Bug: .v2-topbar button {display:inline-flex} ueberschreibt .v2-menu-toggle{display:none} wegen hoeherer Specificity. Fix: Selektor .v2-topbar .v2-menu-toggle + !important. Plus app_version 1.0.0 -> 1.0.1 als Cache-Buster fuer alle CSS-Refs. Co-Authored-By: Claude Opus 4.7 (1M context) --- app/config.py | 2 +- app/static/v2/v2.css | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/app/config.py b/app/config.py index 5401d1e..abab4a2 100644 --- a/app/config.py +++ b/app/config.py @@ -4,7 +4,7 @@ from pathlib import Path class Settings(BaseSettings): app_name: str = "GWÖ-Antragsprüfer" - app_version: str = "1.0.0" + app_version: str = "1.0.1" prompt_version: str = "v4.1" # Paths diff --git a/app/static/v2/v2.css b/app/static/v2/v2.css index 240978e..f3b0fc8 100644 --- a/app/static/v2/v2.css +++ b/app/static/v2/v2.css @@ -899,9 +899,11 @@ body.v2 ul.v2-manual ul li::before { color: #fff; } -/* ── Menu Toggle Button — nur auf Mobile sichtbar (< 900 px) ─────── */ -.v2-menu-toggle { - display: none; /* Desktop: ausgeblendet, Sidebar ist permanent */ +/* ── Menu Toggle Button — nur auf Mobile sichtbar (< 900 px) ─────── + !important nötig wegen .v2-topbar button { display: inline-flex } + (die generische Reset-Regel hat 2 Klassen Specificity vs hier 1). */ +.v2-topbar .v2-menu-toggle { + display: none !important; padding: 6px 10px; background: none; border: 1px solid var(--hairline); @@ -911,7 +913,7 @@ body.v2 ul.v2-manual ul li::before { line-height: 1; } @media (max-width: 900px) { - .v2-menu-toggle { display: inline-flex; } + .v2-topbar .v2-menu-toggle { display: inline-flex !important; } } /* ── Fraktions-Score-Tabelle (Fix 2+3) ─────────────────────────── */