Skip to content

Commit d71a7a9

Browse files
committed
Fix input[type=search] outline
1 parent 3d51c70 commit d71a7a9

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/core/sanitize.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,17 @@ textarea {
148148

149149
/**
150150
* 1. Correct the odd appearance in Chrome, Edge, and Safari.
151-
* 2. Correct the outline style in Safari.
152151
*/
153152

154153
[type="search"] {
155154
-webkit-appearance: textfield; /* 1 */
156-
outline-offset: -2px; /* 2 */
155+
}
156+
157+
/**
158+
* Correct input focus rings in Safari.
159+
*/
160+
input {
161+
outline-offset: 0;
157162
}
158163

159164
/**

0 commit comments

Comments
 (0)