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

Titles are obscured when using anchor links because of sticky menu #48

Open
StevenDufresne opened this issue Jan 3, 2024 · 1 comment

Comments

@StevenDufresne
Copy link

Clicking on an anchor on What’s new for developers? (December 2023) from the table of contents jumps you to the correct section but the title is hidden by the sticky nav.

How to reproduce

  1. Be on the desktop view
  2. Visit the page linked about
  3. Click on Nav Link block renaming support disabled (or click the link here)
  4. Notice the title is cut off.

Screenshot

Screenshot 2024-01-03 at 10 35 01 AM
@ironnysh
Copy link

ironnysh commented Jan 4, 2024

This can be solved by adding scroll-padding-block-start to the target anchors (probably the headings).

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

No branches or pull requests

2 participants