Skip to content

rustdoc: micro scroll bars on "all" page #96910

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

Open
jsha opened this issue May 10, 2022 · 2 comments
Open

rustdoc: micro scroll bars on "all" page #96910

jsha opened this issue May 10, 2022 · 2 comments
Labels
A-rustdoc-ui Area: Rustdoc UI (generated HTML) T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@jsha
Copy link
Contributor

jsha commented May 10, 2022

Steps to reproduce:

  1. Visit https://doc.rust-lang.org/1.60.0/std/all.html on Google Chrome Version 101.0.4951.54 (Official Build) (64-bit), Ubuntu 21.04
  2. Observe grey boxes to the right of each item (these are tiny scrollbars).

image

This reproduces on beta and nightly as well.

@jsha jsha added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. A-rustdoc-ui Area: Rustdoc UI (generated HTML) labels May 10, 2022
@SadiinsoSnowfall
Copy link

Unable to reproduce using the following browsers :

  • W10 Edge 101.0.1210.39
  • W10 Chrome 101.0.4951.64
  • W10 Firefox 91.7 & 91.9
  • Ubuntu22 Chromium 101.0.4951.54
  • Ubuntu22 Chrome 101.0.4951.64
  • Ubuntu22 Firefox 99.0.1

(Note: the page shown in the attached screenshot is https://docs.rs/flate2/latest/flate2/all.html)

@jsha
Copy link
Contributor Author

jsha commented May 12, 2022

Thanks for the repro attempt! And sorry I forgot to include a link to the example page. Good sleuthing. :-)

Your comment made me recall I still have an old version of fira-sans.ttf locally installed from debugging rust-lang/docs.rs#1669 (comment). So this should be quite low priority, since it doesn't reproduce in a typical install. But still it's a bit odd that these elements have an overflow: property that causes them to get a scrollbar, and it would be nice to fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rustdoc-ui Area: Rustdoc UI (generated HTML) 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