Skip to content

fix(nav): consistent top nav (show all 5 on narrow screens, per-page active state) - #19

Merged
patterncatalyst merged 1 commit into
mainfrom
fix/nav-consistency
Oct 23, 2026
Merged

patterncatalyst merged 1 commit into
mainfrom
fix/nav-consistency

Conversation

@patterncatalyst

Copy link
Copy Markdown
Owner

Two nav inconsistencies after adding Bibliography (5th item): (1) a responsive rule .site-nav a:nth-child(n+5){display:none} hid the 5th item on <=720px screens; bumped to n+6 so all five show. (2) active-state (aria-current) was uneven: Contents highlighted on every /docs/ page (including Summary) while Summary never highlighted. Scoped each item to its own page. The 'Start here' reappearing across pages was stale CDN/cache after the prior deploy; HTML nav is identical on every built page.

@patterncatalyst
patterncatalyst merged commit 3417b2f into main Oct 23, 2026
@patterncatalyst
patterncatalyst deleted the fix/nav-consistency branch October 23, 2026 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant