Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add sticky TOC to post layout #1141

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Misaki-Akeno wants to merge 2 commits into timlrx:main
base: main
Choose a base branch
Loading
from Misaki-Akeno:feature/sidebar-toc

Conversation

@Misaki-Akeno
Copy link
Contributor

@Misaki-Akeno Misaki-Akeno commented Apr 7, 2025

Add table of contents to the post sidebar, as implication of #936.

1

Improves navigation experience for longer articles.

Add table of contents to the post sidebar with:
- Sticky positioning that keeps TOC visible while scrolling
- Consistent link styling with the rest of the site
- Max height with overflow scrolling for longer TOCs
Improves navigation experience for longer articles.
Copy link

vercel bot commented Apr 7, 2025

@Misaki-Akeno is attempting to deploy a commit to the timlrx's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor Author

not sticky but normal TOC😀

Copy link

vercel bot commented Jun 29, 2025
edited
Loading

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tailwind-nextjs-starter-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 29, 2025 6:28am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /