Update search field reset to only effect Safari on none mobile.

This commit is contained in:
Fredrik Jonsson 2023-11-21 11:36:40 +01:00
commit a36336976f

View file

@ -65,10 +65,10 @@ label {
}
[type='search'] {
// Correct the odd appearance in Chrome and Safari.
-webkit-appearance: textfield;
// Correct the outline style in Safari.
outline-offset: -2px;
@include respond-to(s) {
// Correct the odd appearance in Safari on desktop.
-webkit-appearance: textfield;
}
}
// Text-level semantics