-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Improve scrollbar display in rustdoc #70656
Conversation
I think this looks reasonable, and it wouldn't hurt to improve the other scrollbars in the pages too. r=me when you decide either way. |
I'll make them a bit larger by default then. |
ba9e269
to
cbee6c5
Compare
I extended the changes to all other scrollbars (there is actually just another one but just in case...). It looks like this now: webkit-based: firefox: If it looks ok to you @kinnison, then please r+. :) |
@bors r+ |
📌 Commit cbee6c5 has been approved by |
Rollup of 5 pull requests Successful merges: - rust-lang#70656 (Improve scrollbar display in rustdoc) - rust-lang#71051 (Suggest .into() over try_into() when it would work) - rust-lang#71087 (Remove `FnCtxt::impl_self_ty`) - rust-lang#71097 (Pattern docs) - rust-lang#71101 (Miri: let machine hook dynamically decide about alignment checks) Failed merges: r? @ghost
This makes the scrollbars look significantly worse and very distracting on my system as well. Here are some screenshots: The new scrollbar for the main content is unexpectedly thick. It also stands out more than usual. I think this change should be either backed out or adjusted. (The reason I only notice this now is because https://phabricator.services.mozilla.com/D78400 finally got to me) |
@nagisa: We had issues because of the different handlings of the sidebars depending on the system so I'd prefer improvement over reverting. |
The scrollbar of the left sidebar in rustdoc looks very bad on firefox (on dark theme). This PR improves it:
With light theme:
And on chrome:
Small extra question: should I extend it to all scrollbars? I think it'd be better but just in case...
r? @kinnison