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

improve docs by adding scroll-margin-top on h2 #385

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kyasu1
Copy link

@kyasu1 kyasu1 commented Jun 25, 2023

Currently each time we click a hash tag link, the h2 header is hidden under the main menu bar, that is not fancy. By following the next post, I have added scroll-margin-top to h2 element, this way he header text is always shown below the menu bar !

https://css-tricks.com/hash-tag-links-padding/

@netlify
Copy link

netlify bot commented Jun 25, 2023

Deploy Preview for elm-pages-todos canceled.

Name Link
🔨 Latest commit 0374c0f
🔍 Latest deploy log https://app.netlify.com/sites/elm-pages-todos/deploys/649846bf4a5a360008b435d0

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