mirror of
https://github.com/nubenetes/awesome-kubernetes.git
synced 2026-07-12 18:00:37 +00:00
feat(v2/nav): disable navigation.tabs — full section list in the left sidebar
18 top-level sections overflowed the horizontal tab bar on a laptop (~3300px of labels vs ~1400px viewport), forcing horizontal scroll to reach the right-side dimensions, and left the sidebar nearly empty on top-level pages like the home. Disabling navigation.tabs (+ .sticky) moves the sections into the standard vertical left sidebar: it handles 18 collapsed sections via normal vertical scroll, stays populated on every page (incl. the home), and nothing clips. Verified: the home nav goes from 23 rendered links (mostly the tab bar) to the full 178-link tree, with 0 tab elements. Theme-only change (the optimizer's nav sync only rewrites the nav: block, so this is preserved). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -29,8 +29,9 @@ theme:
|
||||
icon: material/shield-moon-outline
|
||||
name: Switch to dark mode
|
||||
features:
|
||||
- navigation.tabs
|
||||
- navigation.tabs.sticky
|
||||
# navigation.tabs / .sticky disabled: 18 top-level sections overflowed
|
||||
# the tab bar (horizontal scroll). The left sidebar handles them as a
|
||||
# standard vertical list and stays populated on every page incl. home.
|
||||
- navigation.top
|
||||
- navigation.tracking
|
||||
- navigation.sections
|
||||
|
||||
Reference in New Issue
Block a user