From 98e61e47f9a4d4f3b90ed42ebdfc7465b2d01e57 Mon Sep 17 00:00:00 2001 From: qcigano Date: Tue, 4 Aug 2026 09:49:37 +0200 Subject: [PATCH] =?UTF-8?q?Konto-Men=C3=BC=20genauso=20breit=20wie=20das?= =?UTF-8?q?=20Sprachmen=C3=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Das Konto-Aufklappmenü war mit min-width 190px fest breiter gesetzt als sein Inhalt braucht (~130px) und ragte dadurch sichtbar weiter über den Knopf hinaus als das Sprachmenü daneben. Jetzt beide 168px — die Kopfzeilen-Menüs sehen gleich aus. Nachgemessen: Überstand pro Seite vorher 33,4px (Konto) vs 20,7px (Sprache), jetzt 22,4px vs 20,7px; beide weiterhin exakt mittig (Versatz 0). Co-Authored-By: Claude Opus 5 --- src/styles/global.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/styles/global.css b/src/styles/global.css index d27e99e..7c6e90b 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -673,7 +673,10 @@ a:focus-visible, button:focus-visible { left: 50%; right: auto; transform: translateX(-50%); - min-width: 190px; + /* Exakt dieselbe Breite wie das Sprachmenü (.lang-switch-menu), damit beide Kopfzeilen-Menüs + gleich aussehen. Vorher 190px — das war 60px breiter als der Inhalt überhaupt braucht (~130px) + und ragte dadurch sichtbar weiter über den Knopf hinaus als das Sprachmenü. */ + min-width: 168px; background: var(--c-anthracite-light); border: 1px solid rgba(244, 241, 247, 0.1); border-radius: var(--radius-m);