From a36336976f480891da5d74d40c438cc39ca2cc2f Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson Date: Tue, 21 Nov 2023 11:36:40 +0100 Subject: [PATCH] Update search field reset to only effect Safari on none mobile. --- assets/sass/_reset.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/sass/_reset.scss b/assets/sass/_reset.scss index 04b6463..663ed7f 100644 --- a/assets/sass/_reset.scss +++ b/assets/sass/_reset.scss @@ -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