Merged
requested to merge github/fork/julien-deramond/main-jd-fix-offset-content-for-examples into main
Description
This PR adds .bd-content
to the heading surrounding <div>
to apply an offset.
Motivation & Context
This change is required to fix the rendering after the following navigation:
- Go to https://twbs-bootstrap.netlify.app/
- In Components, meet the Utility API, click on Explore customized components
- You'll be redirected to https://twbs-bootstrap.netlify.app/docs/5.1/examples/#snippets which automatically scrolls to "Snippets" header:
but the header and a part of the content are hidden under the nav bar.
Types of changes
- Bug fix (non-breaking change which fixes an issue)
Checklist
-
I have read the contributing guidelines -
My code follows the code style of the project (using npm run lint
) -
My change introduces changes to the documentation -
All new and existing tests passed
Related issues
N/A