Skip to content

Improve demo navigation and active section tracking - #19

Merged
kerns merged 1 commit into
masterfrom
modernize-php
Oct 19, 2026
Merged

kerns merged 1 commit into
masterfrom
modernize-php

Conversation

@kerns

@kerns kerns commented Oct 19, 2026

Copy link
Copy Markdown
Owner

The demo navigation was too small and did not show which section was being read. Increase the sidebar text size, highlight the current section while scrolling, and keep the selected item visible in shorter windows.

Use the surrounding text color for the logo and hero periods. Main navigation items use a background highlight; subitems retain a straight left bar. Make Complete example a regular item in page order, with matching spacing and no arrow or divider.

Validation: PHP syntax check, static demo export, and both static-export tests passed. Local browser checks covered scrolling in both directions, anchor jumps and deep links, the final sections on tall windows, shorter desktop windows, and a narrow mobile layout; no console errors or horizontal overflow.

@kerns
kerns merged commit 6587ff8 into master Oct 19, 2026
12 checks passed
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