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

Announcement bar covers 'Skip to main content' button #8173

Closed
2 of 7 tasks
je-boska opened this issue Oct 4, 2022 · 1 comment · Fixed by #8163
Closed
2 of 7 tasks

Announcement bar covers 'Skip to main content' button #8173

je-boska opened this issue Oct 4, 2022 · 1 comment · Fixed by #8163
Labels
bug An error in the Docusaurus core causing instability or issues with its execution domain: theme Related to the default theme components

Comments

@je-boska
Copy link

je-boska commented Oct 4, 2022

Have you read the Contributing Guidelines on issues?

Prerequisites

  • I'm using the latest version of Docusaurus.
  • I have tried the npm run clear or yarn 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 :
Screenshot 2022-10-04 at 10 59 48

On my end this only happens in production, not in local development.

Reproducible demo

docusaurus.io

Steps to reproduce

  1. Visit any site in production that was created using Docusaurus
  2. 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.
@je-boska je-boska added bug An error in the Docusaurus core causing instability or issues with its execution status: needs triage This issue has not been triaged by maintainers labels Oct 4, 2022
@slorber
Copy link
Collaborator

slorber commented Oct 6, 2022

Thanks

Simar issue to #8141

Will fix as part of #8163

@slorber slorber linked a pull request Oct 6, 2022 that will close this issue
3 tasks
@Josh-Cena Josh-Cena added domain: theme Related to the default theme components and removed status: needs triage This issue has not been triaged by maintainers labels Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An error in the Docusaurus core causing instability or issues with its execution domain: theme Related to the default theme components
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants