Skip to content

rustdoc sidebar isn't wide enough #139302

Description

@lolbinarycat

I believe the sidebar is currently hardcoded to 200 pixels, and the css is set to truncate long sidebar items.

I could get into a buch of edge cases like font scale, ultrawide monitors, and unusually long section names with common prefixes, but i don't need to, because you can see this problem just by looking at the standard library documentation.

screenshot of stdlib docs

I think this menu should use 90%-100% of the screen width on mobile, and we should remove the truncation so long section names can be fully read.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.T-rustdoc-frontendRelevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions