Skip to content

rustdoc: source code viewer sometimes has extra scroll bar #106455

Closed

Description

Notice the vertical scroll bar (on the right) where there isnt supposed to be one and the unaligned line numbers (because I scrolled):
Screenshot 2023-01-04 at 16 53 01

The issue is easier to replicate for long source files.

Rust version: 1.59.0 and upwards

Replicating

macOS 13.1 / Safari 16.2

Open https://doc.rust-lang.org/1.66.0/src/core/num/uint_macros.rs.html; make sure the sidebar is expanded. Reload until you see the problematic scroll bar.

@rustbot label: +A-rustdoc-ui +C-bug +T-rustdoc

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

Metadata

Assignees

No one assigned

    Labels

    A-rustdoc-uiArea: Rustdoc UI (generated HTML)C-bugCategory: This is a bug.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