Skip to content

Commit 47c75b8

Browse files
authored
Set cursor pointer on input search cancel button (#41639)
* Set cursor pointer on input search cancel button * Update _reboot.scss
1 parent 26c86ba commit 47c75b8

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
@@ -534,6 +534,12 @@ legend {
534534
[type="search"] {
535535
-webkit-appearance: textfield; // 1
536536
outline-offset: -2px; // 2
537+
538+
// 3. Better affordance and consistent appearance for search cancel button
539+
&::-webkit-search-cancel-button {
540+
cursor: pointer;
541+
filter: grayscale(1);
542+
}
537543
}
538544

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

0 commit comments

Comments
 (0)