Closed rsteube closed 11 months ago
Can you share which browser, which version, and which OS you are running on? Do you have any browser extensions installed?
Linux (Manjaro Sway):
Android:
And just to confirm, this is happening on https://rust-lang.github.io/mdBook/?
And just to confirm, this is happening on https://rust-lang.github.io/mdBook/?
No, it doesn't. It works there.
Can you share where it doesn't work? Does that book have a custom theme? Has it been updated?
Ah, totally forgot about that. A fresh initialized mdbook works, and updating the theme files do so as well.
Sorry for the trouble.
@ehuss we ran into this issue with the https://github.com/Cisco-Talos/clamav-documentation project documentation. Mdbook v0.4.34 works correctly, but v0.4.35 the sidebar will not collapse and lays on top of the book text when the browser window is too narrow. I just pushed a commit to revert to build the docs.clamav.net page with v0.4.34 until we can fix it.
@micahsnyder here's how it was done in catppuccin: https://github.com/catppuccin/mdBook/commit/55e872267de2c63e91659c6be5eac1be4fc34540
Thanks @rsteube I just did something similar and it appears to have fixed the issue: https://github.com/Cisco-Talos/clamav-documentation/commit/47875401b7659ac23e8d0e0aaf264acc127025b6
Problem
In
v0.4.35
the sidebar isn't collapsable anymore. Works inv0.4.34
.Steps
mdbook serve --open
Possible Solution(s)
No response
Notes
No response
Version