Skip to content

Navigation menu sticking to the top #5

@Min0w

Description

@Min0w

Hey there!
I encountered a little bug using the Mint theme.

The bug itself

On the index.mdx page, the sidebar navigation sticks to the top of the page and starts behind the navbar, making it impossible to access the first links.

What I should get (and what I have on other pages) :
Image

What I get on index.mdx (we can see the blurred out text behind the logo):
Image

Context

Here's how I got the bug :

  • I changed the SVG logo files in the navbar and favicon (I don't know why this would be related but I discovered the bug only after this)
  • I added just one page in the "navigation" object in docs.json
  • I published the update

The bug only seems to occur on the index.mdx page. If I navigate to other pages and scroll, the menu moves back to the correct position. Then if I navigate back to the index the menu sticks again to the top of the page, behind the sidebar.

I have the bug regardless of cookies or cache, and across different browsers (test on Arc and Safari).

Other info

Here is the link to the documentation if you want to test it for yourself : https://docs.cuboide.studio/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions