mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
Rollup merge of #91699 - jsha:webkit-appearance-search-input, r=GuillaumeGomez
Add `-webkit-appearance: none` to search input This fixes an issue when displaying on iPad, where the search box had no borders. r? ``@GuillaumeGomez`` Demo https://rustdoc.crud.net/jsha/webkit-appearance-search-input/std/string/struct.String.html
This commit is contained in:
commit
e354f0ce87
@ -892,6 +892,10 @@ h2.small-section-header > .anchor {
|
||||
top: 10px;
|
||||
}
|
||||
.search-input {
|
||||
/* Override Normalize.css: it has a rule that sets
|
||||
-webkit-appearance: textfield for search inputs. That
|
||||
causes rounded corners and no border on iOS Safari. */
|
||||
-webkit-appearance: none;
|
||||
/* Override Normalize.css: we have margins and do
|
||||
not want to overflow - the `moz` attribute is necessary
|
||||
until Firefox 29, too early to drop at this point */
|
||||
|
Loading…
Reference in New Issue
Block a user