fix(form-field): reset inputs not being reset on safari (#12413)

Fixes Safari's custom styling for `input[type='search']` not being reset inside of form fields.

Fixes #12408.
This commit is contained in:
Kristiyan Kostadinov
2018-08-01 16:17:20 +02:00
committed by Jeremy Elbourn
parent 71886f84ef
commit 4884dacb58
+9
View File
@@ -43,6 +43,15 @@
display: none;
}
// Clear Safari's decorations for search fields.
&,
&::-webkit-search-cancel-button,
&::-webkit-search-decoration,
&::-webkit-search-results-button,
&::-webkit-search-results-decoration {
-webkit-appearance: none;
}
// Also clear Safari's autofill icons. Note that this can't be in the
// same selector as the IE ones, otherwise Safari will ignore it.
&::-webkit-contacts-auto-fill-button,