Skip to content

Doc Sidebar is covering NavBar Buttons #4826

@fabrusso

Description

@fabrusso

🐛 Bug Report

The navbar in the documentation page is not working.
Is correctly working in the Home page.

I checked the the HTML and It seems that the sidebar containing Doc link has a margin-top that is covering the buttons area.

Have you read the Contributing Guidelines on issues?

yes

To Reproduce

If possible, use https://new.docusaurus.io to create a CodeSandbox reproducible demo of the bug.

(Write your steps here:)

  1. Go to documentation
  2. Try click on navbar "left positioned" button near the logo

Expected behavior

I expect the buttons to redirect me to the url\src

Actual Behavior

Buttons are not clickable

Your Environment

  • Docusaurus version used: @docusaurus/core": "^2.0.0-beta.0
  • Environment name and version: Mozilla for Developers
  • Operating system and version (desktop or mobile): MacOS BigSur

Reproducible Demo

Doc to check:
https://crono.matchplat.io/docs/installation/installation

Current margin of the child DIV:
Schermata 2021-05-21 alle 12 18 34

Parent DIV covering:
Schermata 2021-05-21 alle 12 21 41

Disabling that margin-top:
Schermata 2021-05-21 alle 12 21 47

The Sidebar with no Margin Top and clickable buttons:
Schermata 2021-05-21 alle 12 21 59

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn error in the Docusaurus core causing instability or issues with its executionexternalThis issue is caused by an external dependency and not Docusaurus.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions