diff options
| author | Roger Rehnelt <noreply@maennchen1.de> | 2026-10-04 18:27:49 +0200 |
|---|---|---|
| committer | Roger Rehnelt <noreply@maennchen1.de> | 2026-10-04 18:27:49 +0200 |
| commit | ff6948abc961fbc7ef66e0700e9fe837b7ed9ea6 (patch) | |
| tree | 35425a68b42ae352e6de92eab36552798ea25eeb /views/css/wpsg-theme.css | |
| parent | eed31a0036c57329c27f93616405b020bd9023de (diff) | |
Kundenverwaltung: Abmelden in schmaler Kontonavigation mitlaufen lassen
Bricht die Navigation um, steht Abmelden nicht mehr allein am rechten Rand.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'views/css/wpsg-theme.css')
| -rw-r--r-- | views/css/wpsg-theme.css | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/views/css/wpsg-theme.css b/views/css/wpsg-theme.css index b492bc3..db118a4 100644 --- a/views/css/wpsg-theme.css +++ b/views/css/wpsg-theme.css @@ -292,13 +292,15 @@ .wpsg-steps__number::after { content:"."; } /* Kundenkonto */ -.wpsg-account-nav { margin:0 0 2em; border-bottom:1px solid var(--wpsg-color-line); } +.wpsg-account-nav { margin:0 0 2em; border-bottom:1px solid var(--wpsg-color-line); container-type:inline-size; } .wpsg-account-nav__list { display:flex; flex-wrap:wrap; gap:0 1.5em; margin:0; padding:0; list-style:none; } .wpsg-account-nav__item { margin:0; } .wpsg-account-nav__item--logout { margin-inline-start:auto; } .wpsg-account-nav__link { display:inline-block; padding:0.6em 0; color:inherit; text-decoration:none; } .wpsg-account-nav__link:where(:hover) { text-decoration:underline; } .wpsg-account-nav__link:where([aria-current="page"]) { font-weight:700; text-decoration:underline; text-decoration-color:var(--wpsg-color-accent); text-decoration-thickness:3px; text-underline-offset:0.4em; } +/* Schmal bricht die Navigation um; Abmelden läuft dann mit statt allein rechts */ +@container (max-width:36em) { .wpsg-account-nav__item--logout { margin-inline-start:0; } } .wpsg_profil :where(.wpsg_pwdvergessen_link) { line-height:30px; } .wpsg_profil :where(.wpsg_mod_kundenverwaltung_login), .wpsg_checkout :where(.wpsg_mod_kundenverwaltung_login) { float:right; } .wpsg_profil :where(.wpsg_saveButton) { float:right; } |
