Skip to content
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

fix: blog toc height scrolls #48 #49

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

pedenys
Copy link

@pedenys pedenys commented Dec 12, 2024

Fixes #48

TOC content can now scroll with the content

Here's a demo of the behavior allowed by the fix:
screenshot-2024-12-12-16h14m08s

Imo it's a quicker fix than handling the toggling of <h2> <h3>. Let me know if it does not suit the intended behavior.

Copy link

vercel bot commented Dec 12, 2024

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

Name Status Preview Comments Updated (UTC)
blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 12, 2024 3:16pm

Copy link

vercel bot commented Dec 12, 2024

@pedenys is attempting to deploy a commit to the Team HoppR Tech Team on Vercel.

A member of the Team first needs to authorize it.

@pedenys
Copy link
Author

pedenys commented Dec 12, 2024

The fix breaks the sticky position of the header, it needs some rework. Could be nice also to have a progressive navbar with active states related to <h*> tags position in the view.

@pedenys pedenys force-pushed the fix/toc-height-scroll branch from 6db0cfd to 35860ce Compare January 7, 2025 14:14
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.

Table des matières trop longue
1 participant