mirror of
https://github.com/cockpit-project/cockpit.git
synced 2026-11-03 21:49:50 -09:00
In the mobile layout the "System" label sits 4px lower than the "Help" and "Session" labels and its box overflows the navbar. The nav toggle rule also matched `#nav-system-item > .pf-v6-c-button__text`, so the label span got its own `display: grid`, `grid-template-rows: 28px 1fr` and `block-size: 100%`. It renders inside a 28px row of its own, which pushes the text down. The button itself already matches `button.ct-nav-toggle`, and the nested rules in that block target menu-toggle/select children that the label span never has. Dropping the selector puts the label at the same height as the other navbar labels. Follow-up to #23083. Signed-off-by: Peter Buchan Jr <pbuchan@redhat.com> Assisted-by: Claude Opus 5.5 |
||
|---|---|---|
| .. | ||
| images | ||
| machines | ||
| active-pages-modal.tsx | ||
| credentials.scss | ||
| credentials.tsx | ||
| failures.tsx | ||
| frames.tsx | ||
| hosts.tsx | ||
| hosts_dialog.jsx | ||
| index.html | ||
| manifest.json | ||
| manifests.ts | ||
| nav.scss | ||
| nav.tsx | ||
| router.jsx | ||
| session.ts | ||
| shell-modals.tsx | ||
| shell.html | ||
| shell.scss | ||
| shell.tsx | ||
| state.tsx | ||
| topnav.tsx | ||
| util.tsx | ||