Closed
Description
Have you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
Prerequisites
- I'm using the latest version of Docusaurus.
- I have tried the
npm run clear
oryarn clear
command. - I have tried
rm -rf node_modules yarn.lock package-lock.json
and re-installing packages. - I have tried creating a repro with https://new.docusaurus.io.
- I have read the console error message carefully (if applicable).
Description
The announcement bar covers the 'Skip to main content' button. This screenshot is from docusaurus.io :
On my end this only happens in production, not in local development.
Reproducible demo
Steps to reproduce
- Visit any site in production that was created using Docusaurus
- Tab through the elements from the top
Expected behavior
The 'Skip to main content' button appears in front of all elements on the site.
Actual behavior
The 'Skip to main content' button is partly hidden by the announcement bar at the top of the site.
Your environment
- Public source code:
- Public site URL:
- Docusaurus version used:
- Environment name and version (e.g. Chrome 89, Node.js 16.4):
- Operating system and version (e.g. Ubuntu 20.04.2 LTS):
Self-service
- I'd be willing to fix this bug myself.