-
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
Fix search input focus in ayu theme #74505
Conversation
Some changes occurred in HTML/CSS/JS. Some changes occurred in HTML/CSS themes. |
(rust_highfive has picked a reviewer for you, use r? to override) |
Tiny nit: The border radius on the right seems a bit smaller than the one one the left 😁 |
True! This is the same as what the other themes do, though, and oddly enough it doesn't bother me at all, so I'm not interested in changing that here in this PR. I think it helps differentiate the two types of boxes up there. One is a less important dropdown while the other is for text entry. |
It's voluntary: the left is "joined" with the "all crates" dropdown selector (which has rounded border on the left but not on the right). So please don't change it. :) |
margin-left: 8px; | ||
} | ||
|
||
#crate-search+.search-input:focus { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just realized that this block shouldn't have existed by itself: it's the same selector as above...
Thanks! @bors: r+ rollup |
📌 Commit dec7076 has been approved by |
…arth Rollup of 13 pull requests Successful merges: - rust-lang#72714 (Fix debug assertion in typeck) - rust-lang#73197 (Impl Default for ranges) - rust-lang#73323 (wf: check foreign fn decls for well-formedness) - rust-lang#74051 (disallow non-static lifetimes in const generics) - rust-lang#74376 (test caching opt_const_param_of on disc) - rust-lang#74501 (Ayu theme: Use different background color for Run button) - rust-lang#74505 (Fix search input focus in ayu theme) - rust-lang#74522 (Update sanitizer docs) - rust-lang#74546 (Fix duplicate maybe_uninit_extra attribute) - rust-lang#74552 (Stabilize TAU constant.) - rust-lang#74555 (Improve "important traits" popup display on mobile) - rust-lang#74557 (Fix an ICE on an invalid `binding @ ...` in a tuple struct pattern) - rust-lang#74561 (update backtrace-rs) Failed merges: r? @ghost
Closes #74496.
Before:
After: