mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 09:44:08 +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;
|
top: 10px;
|
||||||
}
|
}
|
||||||
.search-input {
|
.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
|
/* Override Normalize.css: we have margins and do
|
||||||
not want to overflow - the `moz` attribute is necessary
|
not want to overflow - the `moz` attribute is necessary
|
||||||
until Firefox 29, too early to drop at this point */
|
until Firefox 29, too early to drop at this point */
|
||||||
|
Loading…
Reference in New Issue
Block a user