Skip to content

rustdoc: align .stab to the right on desktop #86767

Open
@dns2utf8

Description

@dns2utf8

The informative tags/labels/stabs have been moved to the left column to improve the mobile experience.
Now the table feels a bit crammed.

  • One possibility is to increase the gaps between the symbol and the tags.
  • Another is to align the tags to the right on the desktop.

Current nightly 2021-06-30

image

First draft for implementation

One possibility is something like this, but these rules result in stretched out:

image

.item-left {
    grid-column: 1;
    /* added */
    display: flex;
    justify-content: space-between;
    flex-flow: row wrap;
    width: 100%;
}

Based on: #86725 #86594
CC: @GuillaumeGomez

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