Skip to content

Rustdoc hides source links on small screens #45498

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
no-longer-on-githu-b opened this issue Oct 24, 2017 · 1 comment
Closed

Rustdoc hides source links on small screens #45498

no-longer-on-githu-b opened this issue Oct 24, 2017 · 1 comment
Labels
A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@no-longer-on-githu-b
Copy link

Possible a niche use case, but anyway. 😄

If I try to go to the source of an item on a mobile phone, I can’t, because the source link is hidden. It does work on a large screen (such as that of a desktop computer). User agent spoofing doesn’t work either because it’s done using CSS.

@GuillaumeGomez GuillaumeGomez added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools labels Oct 24, 2017
@GuillaumeGomez
Copy link
Member

I'll try to fix it.

GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this issue Oct 25, 2017
…r=QuietMisdreavus

Show src button and function version on mobile version

Fixes rust-lang#45498.

<img width="1440" alt="screen shot 2017-10-24 at 22 36 09" src="https://user-images.githubusercontent.com/3050060/31966689-c0070404-b90b-11e7-8810-810fa0491eda.png">

r? @rust-lang/docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

2 participants