Skip to content

rustdoc sidebar isn't wide enough #139302

Open
@lolbinarycat

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.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