Skip to content

Rustdoc should specify maximum image size #24861

Closed
@killercup

Description

@killercup

I just saw http://huonw.github.io/cogset/cogset/, a rustdoc page with an image. On small screens, the image doesn't resize and is just cut off.

I know images are probably quite rare in documentation, but adding img {max-width: 100%} to the rustdoc main css file is a trivial thing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    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