Skip to content

Sidebar overlaps with a menu-bar #2697

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

Open
synalice opened this issue May 11, 2025 · 1 comment
Open

Sidebar overlaps with a menu-bar #2697

synalice opened this issue May 11, 2025 · 1 comment
Labels
C-bug Category: A bug, incorrect or unintended behavior

Comments

@synalice
Copy link

synalice commented May 11, 2025

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).

@synalice synalice added the C-bug Category: A bug, incorrect or unintended behavior label May 11, 2025
@synalice
Copy link
Author

I've deleted these 7 lines and here is the result. This might be a personal preference, but I do like it better this way.

Screencast.from.11.05.2025.13.39.28.webm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: A bug, incorrect or unintended behavior
Projects
None yet
Development

No branches or pull requests

1 participant