Skip to content

Scrollbar disappears when sidebar is short #90943

Closed
@jsha

Description

@jsha

In this example, for ToString, the sidebar is shorter than the page, so there is no scrollbar:

image

In this example, for String, the sidebar is longer so there is a scrollbar:

image

The problem here is that the scrollbar forms part of the visual layout of the page, separating the sidebar from the main content. I think for the sake of consistency we should always show the sidebar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-rustdoc-uiArea: Rustdoc UI (generated HTML)T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions