Crates sidebar menu in docs disappears when page width is less than 700px #36531
Labels
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-dev-tools
Relevant to the dev-tools subteam, which will review and decide on the PR/issue.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
This can be confusing; it makes it look like there aren't any docs available. Example:
@bruceadams was following along with Chapter 2 in the new book, and we mention
cargo doc --open
after adding the regex crate. At the time he ran the command, his browser window was under 700px wide because he had his screen split to have the book and editor/terminal open at the same time, so the docs opened themselves in that narrow window. The menu with the crates in the sidebars is just totally gone at that width, and that combined with the fact that the guessing game doesn't have any docs that would appear on the index page makes the docs look broken and like there aren't any docs to browse :(Screenshot of this scenario:
The problem is this CSS:
It'd be awesome to have at least a hamburger menu or something to be able to get to the menu of crates even at narrower widths.
The text was updated successfully, but these errors were encountered: