Skip to content

rustdoc "source" links are not clickable #104313

@RalfJung

Description

@RalfJung
Member

To reproduce, navigate to https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/struct.Ty.html and click the the "source" link for any of the methods. Nothing at all happens when I do that. I tried Firefox and Chromium.

This seems to be a fairly recent regression.

@rust-lang/rustdoc

Activity

GuillaumeGomez

GuillaumeGomez commented on Nov 12, 2022

@GuillaumeGomez
Member

It's because it's under the h4 for some reason. Let's see what changed in the last few days.

GuillaumeGomez

GuillaumeGomez commented on Nov 12, 2022

@GuillaumeGomez
Member

I think it's because of 303653e. I'll try to send a fix today.

GuillaumeGomez

GuillaumeGomez commented on Nov 12, 2022

@GuillaumeGomez
Member

It's because .code-header added a position: relative to have a correct positioning of the tooltip on mobile devices.

added 2 commits that reference this issue on Nov 12, 2022

Rollup merge of rust-lang#104319 - GuillaumeGomez:fix-non-clickable-s…

669155c

Rollup merge of rust-lang#104319 - GuillaumeGomez:fix-non-clickable-s…

d532d67
added a commit that references this issue on Nov 12, 2022

Rollup merge of rust-lang#104177 - notriddle:notriddle/js-notable-tra…

36d2291
added a commit that references this issue on Nov 13, 2022

Rollup merge of rust-lang#104177 - notriddle:notriddle/js-notable-tra…

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @RalfJung@GuillaumeGomez

      Issue actions

        rustdoc "source" links are not clickable · Issue #104313 · rust-lang/rust