Clear button for search (#62)

This commit is contained in:
Timothy Armes
2023-07-05 22:21:25 +02:00
parent 2a5d89cf46
commit 4fb471c40b
2 changed files with 29 additions and 2 deletions
+17
View File
@@ -25,3 +25,20 @@ body {
)
rgb(var(--background-start-rgb));
}
input[type="search"]::-ms-clear {
display: none;
width: 0;
height: 0;
}
input[type="search"]::-ms-reveal {
display: none;
width: 0;
height: 0;
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
display: none;
}