Skip to content

Sidebar overlaps with a menu-bar #2697

Open
@synalice

Description

@synalice

Problem

When you resize the sidebar it goes under the menu-bar (the header).

Screencast.from.11.05.2025.13.07.09.webm

Steps

  1. Open https://rust-lang.github.io/mdBook/ or https://doc.rust-lang.org/book/.
  2. Resize the sidebar and look at where it meets the menu-bar.

Possible Solution(s)

We could make the sidebar be always on top of everything else. This means it would temporarily obscure the menu-bar.

Alternatively, make it so that menu-bar is resized linearly with the sidebar, without the "bounce" animation. With that the menu-bar and sidebar will never overlap.

Notes

No response

Version

The one used for https://rust-lang.github.io/mdBook/ at the time of writing this (a8aee21).

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: A bug, incorrect or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions