Skip to content

feat(docs): add compact page orientation dropdown#26

Open
vyctorbrzezowski wants to merge 3 commits into
openclaw:mainfrom
vyctorbrzezowski:brzezowski/docs-sticky-page-orientation
Open

feat(docs): add compact page orientation dropdown#26
vyctorbrzezowski wants to merge 3 commits into
openclaw:mainfrom
vyctorbrzezowski:brzezowski/docs-sticky-page-orientation

Conversation

@vyctorbrzezowski
Copy link
Copy Markdown
Contributor

Summary

  • add a compact On this page dropdown for mobile and mid-width docs pages
  • reveal it after the reader starts scrolling, keep long section lists internally scrollable, and prevent scroll chaining into the page behind the menu
  • refresh the compact TOC after PJAX navigation and close it after selection, outside click, or Escape
  • condense breadcrumbs on narrow screens to the essential levels so they stay on one line beside page actions
  • align wrapped footer utility links deliberately on narrow screens

Screenshots

Collapsed:

Collapsed compact On this page dropdown

Expanded:

Expanded compact On this page dropdown

Testing

  • git diff --check origin/main...HEAD
  • npm run docs:build:preview
  • node --check scripts/docs-site/assets.mjs
  • node --check scripts/docs-site/build.mjs
  • node --check scripts/docs-site/smoke.mjs
  • node --check dist/docs-site/assets/docs-site.js
  • manual browser verification at mobile and mid-width viewports

@vyctorbrzezowski vyctorbrzezowski force-pushed the brzezowski/docs-sticky-page-orientation branch from 368ff4b to 035b8f6 Compare June 1, 2026 05:05
@vyctorbrzezowski vyctorbrzezowski marked this pull request as ready for review June 1, 2026 05:08
@vyctorbrzezowski vyctorbrzezowski requested a review from a team as a code owner June 1, 2026 05:08
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