Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAnchors are hidden underneath the navbar when navigating to them #3113
Comments
|
The padding of anchors appears to be set in the Gatsby theme here: https://github.com/reactjs/reactjs.org/blob/master/src/theme.js#L286-L292 |
|
Confirmed, thanks for filing this @claudiopro. Do you want to submit a PR to fix it? |
|
@rickhanlonii @claudiopro Can I try this? |
|
@harshilparmar yeah! Let me know if you need any help getting set up. |
|
Hey, I hope it's ok but I took the liberty of looking into this issue and made a PR with a potential fix. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


I noticed that anchor links slide under the navbar. This is similar to facebook/docusaurus#2907 and likely caused by the increase of the height of the navbar caused by the BLM banner.
Steps to reproduce
Expected result
The anchor appears in view at the top of the page
Actual result
The anchor appears at the top of the page hidden under the navbar