Skip to content

fix(docs): keep right menu below sticky header#1425

Open
w3lld1 wants to merge 1 commit into
apache:masterfrom
w3lld1:fix/docs-side-menu-offset
Open

fix(docs): keep right menu below sticky header#1425
w3lld1 wants to merge 1 commit into
apache:masterfrom
w3lld1:fix/docs-side-menu-offset

Conversation

@w3lld1

@w3lld1 w3lld1 commented Jul 19, 2026

Copy link
Copy Markdown
  • I've read the Contributor Guide and Code of Conduct.
  • I've included unit or integration tests for my change, where applicable.
  • I've included inline docs for my change, where applicable.
  • There's an open issue for the PR that I am making.

Keep the desktop docs side menu below the sticky header

Fixes #1407

Description

I increased the desktop offset for the API docs side affix so its first entries no longer sit underneath the wrapped sticky header at viewport widths of 1200px and above.

I verified the change against the current 4.8.0-beta00018 docs page by replacing its stylesheet in headless Chromium with this branch's stylesheet. At 1200, 1215, 1280, 1350, and 1600px, the 195px-tall header ends before the side menu starts at 200px, and every visible menu entry remains inside the viewport.

Validation

  • uvx prek run --files websites/apidocs/Templates/LuceneTemplateAssets/styles/main.css
  • Headless Chromium layout regression check at 1200, 1215, 1280, 1350, and 1600px
  • git diff --check origin/master...HEAD

I did not run the complete Windows-based DocFX website build locally; the browser regression check exercises the changed stylesheet against the published docs markup.

Signed-off-by: w3lld1 <42353747+w3lld1@users.noreply.github.com>
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.

Docs site right side menu layout bug affects desktop browsers above the 1200 break point

1 participant