Skip to content

Put a run example's fold toggle inside its stage - #149

Merged
ryankiley merged 1 commit into
mainfrom
fold-toggle-tab-order
Oct 10, 2026
Merged

ryankiley merged 1 commit into
mainfrom
fold-toggle-tab-order

Conversation

@ryankiley

Copy link
Copy Markdown
Owner

On phones the landing shows the schema toggle under the copy and above the pane, but the page wrote it after the pane, so Tab went through about thirty panel controls before reaching it. The generator now writes a run example's fold toggle inside the stage, between the demo and the panel, so the page order and the screen agree; the code body still follows the stage. Measured positions are identical on desktop and phone, and only the landing uses foldCode.

The landing shows the schema toggle under the copy, above the pane on phones, but the page put it after the pane, so Tab visited thirty panel controls before reaching it. The generator now writes the toggle between the demo and the panel, so the order matches the screen; the layout doesn't move.
@ryankiley
ryankiley merged commit 5ea4d73 into main Oct 10, 2026
2 checks passed
@ryankiley
ryankiley deleted the fold-toggle-tab-order branch October 10, 2026 23:14
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