Set cursor pointer on input search cancel button (#41639)

* Set cursor pointer on input search cancel button

* Update _reboot.scss
This commit is contained in:
Mark Otto 2025-08-20 11:13:33 -07:00 committed by GitHub
parent 26c86ba875
commit 47c75b8492
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 0 deletions

View File

@ -534,6 +534,12 @@ legend {
[type="search"] { [type="search"] {
-webkit-appearance: textfield; // 1 -webkit-appearance: textfield; // 1
outline-offset: -2px; // 2 outline-offset: -2px; // 2
// 3. Better affordance and consistent appearance for search cancel button
&::-webkit-search-cancel-button {
cursor: pointer;
filter: grayscale(1);
}
} }
// 1. A few input types should stay LTR // 1. A few input types should stay LTR