Skip to content
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

Rustdoc responsive design makes suboptimal tradeoffs, especially on tall windows #43571

Closed
the8472 opened this issue Jul 31, 2017 · 1 comment
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@the8472
Copy link
Member

the8472 commented Jul 31, 2017

When displaying IDE and a browser showing rustdocs side by side I can easily end up with a 800x1400 viewport. At that resolution the sidebar takes up a large fraction of the space, forcing unnecessary linebreaks.

At lower widths (<700px) media queries use a different layout without the sidebar, but that also has problems. For one it hides the [-] toggle on the top right which I like to use to get a more compact overview due to the lack of method indexes (#40273). Secondly, it mostly removes the sidebar's content. With enough vertical screen estate it might make more sense to just move it to the top or bottom.

viewport

@steveklabnik steveklabnik added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-dev-tools Relevant to the dev-tools subteam, which will review and decide on the PR/issue. labels Jul 31, 2017
@Mark-Simulacrum Mark-Simulacrum added the C-enhancement Category: An issue proposing an enhancement or a PR with one. label Aug 3, 2017
@ehuss ehuss removed the T-dev-tools Relevant to the dev-tools subteam, which will review and decide on the PR/issue. label Jan 18, 2022
@GuillaumeGomez
Copy link
Member

The UI has been greatly reworked, preventing this issue from happening anymore. I'm closing it but if you still have some issues around the "responsiveness", please reopen it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

5 participants