Skip to content

Conversation

@tanmaykapil17
Copy link

What this PR does

Prevents section headings from being hidden under the fixed header when internal anchor links are used.

How

Applies a CSS scroll-margin-top to heading elements so that anchor-based scrolling offsets correctly.

Context

Resolves #10744

@welcome
Copy link

welcome bot commented Dec 25, 2025

Thanks for opening this pull request! This space is protected by our Code of Conduct - and we're here to help.
Dangerbot will test out your code and reply in a bit with some pointers and requests.
Also please refer here for installation help 💿
There may be some errors, but don't worry! We'll work through them with you! 👍🎉😄


One thing that can help to get started is to make sure you've included a link back to the original issue you're solving, in the format fixes #0000 (for example). And to make sure the PR title describes what you're trying to do! (often it can be the same as the issue title) Thanks! 🙌


Then, you can say hello in our chatroom & share a link to this PR to get a review! 👋 ✅

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.

Subheadings within a page are hidden under fixed banner when internal links are used

2 participants