mirror-cockpit-project-cockpit/pkg/shell
Peter Buchan Jr d3488cc1a3 shell: Don't style the System button label as a nav toggle on mobile
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
2026-10-21 09:52:42 +02:00
..
images shell: drop bg-plain from shell 2025-11-08 13:08:08 +01:00
machines shell: Use strict equality everywhere 2026-10-20 11:52:11 +02:00
active-pages-modal.tsx shell: Use strict equality everywhere 2026-10-20 11:52:11 +02:00
credentials.scss shell: Use isActionCell for SSH modal switch 2026-07-14 13:01:26 +02:00
credentials.tsx shell: Use FileChooser for SSH keys 2026-09-18 14:31:37 +02:00
failures.tsx shell: Use strict equality everywhere 2026-10-20 11:52:11 +02:00
frames.tsx shell: Use strict equality everywhere 2026-10-20 11:52:11 +02:00
hosts.tsx REUSE: Convert license headers to SPDX format 2026-02-04 10:24:11 +01:00
hosts_dialog.jsx shell: Use strict equality everywhere 2026-10-20 11:52:11 +02:00
index.html shell: Load favicon explicitly from static 2025-04-22 17:14:20 +02:00
manifest.json po: Add 'lo' language 2026-06-03 09:45:03 +02:00
manifests.ts REUSE: Convert license headers to SPDX format 2026-02-04 10:24:11 +01:00
nav.scss shell: Don't style the System button label as a nav toggle on mobile 2026-10-21 09:52:42 +02:00
nav.tsx shell: Use strict equality everywhere 2026-10-20 11:52:11 +02:00
router.jsx shell: Use strict equality everywhere 2026-10-20 11:52:11 +02:00
session.ts shell: Use strict equality everywhere 2026-10-20 11:52:11 +02:00
shell-modals.tsx REUSE: Convert license headers to SPDX format 2026-02-04 10:24:11 +01:00
shell.html lib: Update to Patternfly v6 2025-03-24 12:12:46 +01:00
shell.scss shell: Remove systime declarations from before React 2026-10-16 17:08:14 +02:00
shell.tsx shell: Use strict equality everywhere 2026-10-20 11:52:11 +02:00
state.tsx shell: Use strict equality everywhere 2026-10-20 11:52:11 +02:00
topnav.tsx shell: Use strict equality everywhere 2026-10-20 11:52:11 +02:00
util.tsx shell: Use strict equality everywhere 2026-10-20 11:52:11 +02:00