-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Crates sidebar menu in docs disappears when page width is less than 700px #36531
Copy link
Copy link
Closed
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.Relevant to the dev-tools subteam, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.Relevant to the dev-tools subteam, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
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 --openafter 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.