Skip to content

fix(toc): cap sticky side panel height so it stops overflowing the vi…#1340

Merged
perber merged 1 commit into
mainfrom
fix/toc-side-panel-overflow
Jul 26, 2026
Merged

fix(toc): cap sticky side panel height so it stops overflowing the vi…#1340
perber merged 1 commit into
mainfrom
fix/toc-side-panel-overflow

Conversation

@perber

@perber perber commented Jul 25, 2026

Copy link
Copy Markdown
Owner

…ewport

The ToC side panel was position: sticky with no max-height, so pages with many headings grew the panel past the bottom of the window with no way to scroll or reach the lower entries. It now caps to the available height and scrolls the entry list internally once it's too long, while staying sticky and visible during scroll.

…ewport

The ToC side panel was position: sticky with no max-height, so pages with
many headings grew the panel past the bottom of the window with no way to
scroll or reach the lower entries. It now caps to the available height and
scrolls the entry list internally once it's too long, while staying sticky
and visible during scroll.
@perber
perber merged commit 4e00a3b into main Jul 26, 2026
9 checks passed
@perber
perber deleted the fix/toc-side-panel-overflow branch July 26, 2026 12:15
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