Skip to content

Commit

Permalink
Update search field reset to only effect Safari on none mobile.
Browse files Browse the repository at this point in the history
  • Loading branch information
frjo committed Nov 21, 2023
1 parent b75e901 commit a363369
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions assets/sass/_reset.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a363369

Please sign in to comment.