Skip to content

Commit 5b4009a

Browse files
committed
refactor: set the cursor to a pointer on the search cancel input button
1 parent 35f5253 commit 5b4009a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scss/_reboot.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,12 @@ legend {
537537
[type="search"] {
538538
-webkit-appearance: textfield; // 1
539539
outline-offset: -2px; // 2
540+
541+
// 3. Better affordance and consistent appearance for search cancel button
542+
&::-webkit-search-cancel-button {
543+
cursor: pointer;
544+
filter: grayscale(1);
545+
}
540546
}
541547

542548
// 1. A few input types should stay LTR

0 commit comments

Comments
 (0)