Skip to content

Fix toc position on desktop, and left sidenav + main layout on tablet#2525

Merged
chalin merged 1 commit intogoogle:mainfrom
chalin:chalin-m24-sidenav-adj-2026-0207
Feb 7, 2026
Merged

Fix toc position on desktop, and left sidenav + main layout on tablet#2525
chalin merged 1 commit intogoogle:mainfrom
chalin:chalin-m24-sidenav-adj-2026-0207

Conversation

@chalin
Copy link
Copy Markdown
Collaborator

@chalin chalin commented Feb 7, 2026

Preview: https://deploy-preview-2525--docsydocs.netlify.app/docs/best-practices/

Screenshots

Page-meta / sidenav-toc position fix:

Before After
image image

Notice how the footer peeks up in the before image. That's because the ToC sidenav isn't correctly positioned. The fix is to use margin-top not top.


Left sidenav (tree/section) fix:

Before After
image image

When the sidenav entries are all open, both before and after have the same look (as expected):

Before After
image image

@chalin chalin added this to the 0.14.0 milestone Feb 7, 2026
@chalin chalin merged commit cc2d056 into google:main Feb 7, 2026
12 checks passed
@chalin chalin deleted the chalin-m24-sidenav-adj-2026-0207 branch February 7, 2026 14:04
@chalin chalin mentioned this pull request Mar 1, 2026
10 tasks
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.

Left sidenav / main area have a gap between it and the footer Page-meta spacing is off for some pages

1 participant