Skip to content

Notable traits popup position issue #91290

Closed
@GuillaumeGomez

Description

@GuillaumeGomez

When it's present on the item of the page (and too far on the right) and the width of the screen is too small, the popup breaks the page flow:

Screenshot from 2021-11-27 13-59-56

And when you scroll to see the popup content:

Screenshot from 2021-11-27 14-00-55

The best way to handle this would be to position it to the left instead of the right of the i depending of its width and i position, but I don't see a way to do it just using CSS. We also can't simply put it on the left by default because we might have the same issue but on the other side.

cc @Manishearth

Metadata

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