Skip to content

Commit 0c8f0ca

Browse files
committed
Merge remote-tracking branch '42pe/42pe-fix-search-fields' into main
2 parents 5ada939 + 9266548 commit 0c8f0ca

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

normalize.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,26 @@ textarea {
324324
-webkit-appearance: none;
325325
}
326326

327+
/* clears the 'X' from Internet Explorer */
328+
input[type="search"]::-ms-clear {
329+
display: none;
330+
width: 0;
331+
height: 0;
332+
}
333+
input[type="search"]::-ms-reveal {
334+
display: none;
335+
width: 0;
336+
height: 0;
337+
}
338+
339+
/* clears the 'X' from Chrome */
340+
input[type="search"]::-webkit-search-decoration,
341+
input[type="search"]::-webkit-search-cancel-button,
342+
input[type="search"]::-webkit-search-results-button,
343+
input[type="search"]::-webkit-search-results-decoration {
344+
display: none;
345+
}
346+
327347
/**
328348
* 1. Correct the inability to style clickable types in iOS and Safari.
329349
* 2. Change font properties to `inherit` in Safari.

0 commit comments

Comments
 (0)