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) <noreply@anthropic.com>
This commit is contained in:
Dotty Dotter 2026-04-28 00:37:55 +02:00
parent 98787c8684
commit fab1bddd3c
2 changed files with 7 additions and 5 deletions

View File

@ -4,7 +4,7 @@ from pathlib import Path
class Settings(BaseSettings): class Settings(BaseSettings):
app_name: str = "GWÖ-Antragsprüfer" app_name: str = "GWÖ-Antragsprüfer"
app_version: str = "1.0.0" app_version: str = "1.0.1"
prompt_version: str = "v4.1" prompt_version: str = "v4.1"
# Paths # Paths

View File

@ -899,9 +899,11 @@ body.v2 ul.v2-manual ul li::before {
color: #fff; color: #fff;
} }
/* ── Menu Toggle Button — nur auf Mobile sichtbar (< 900 px) ─────── */ /* Menu Toggle Button nur auf Mobile sichtbar (< 900 px)
.v2-menu-toggle { !important nötig wegen .v2-topbar button { display: inline-flex }
display: none; /* Desktop: ausgeblendet, Sidebar ist permanent */ (die generische Reset-Regel hat 2 Klassen Specificity vs hier 1). */
.v2-topbar .v2-menu-toggle {
display: none !important;
padding: 6px 10px; padding: 6px 10px;
background: none; background: none;
border: 1px solid var(--hairline); border: 1px solid var(--hairline);
@ -911,7 +913,7 @@ body.v2 ul.v2-manual ul li::before {
line-height: 1; line-height: 1;
} }
@media (max-width: 900px) { @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) ─────────────────────────── */ /* ── Fraktions-Score-Tabelle (Fix 2+3) ─────────────────────────── */