Sidebar not visible in large screens
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 22.2k
- Forks
- 1.9k
- PR merge metrics
- PR metrics pending
Description
Problem
I'm facing an issue where the sidebar doesn't automatically appear at startup, even when the window size is sufficient,
document.body.clientWidth = 3050 which is bigger than 1080
Is there a way to configure the mdbook to force the sidebar to be visible regardless of the window size?
In my case, mdbook is embedded inside a specific frameset Frame 3 on the page. Please see the image below.
Even if I increase the window size, the sidebar remains hidden, and it would be nice to have a parameter for that case addressing this scenario.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin by reproducing the sidebar behavior in an mdBook embedded in the described “Frame 3” frameset, comparing document.body.clientWidth with the 1080px threshold. Done means the issue’s large-screen embedded scenario has a documented, reproducible way to keep the sidebar visible.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100