Use :focus-within instead of :has for better legacy support

This commit is contained in:
Pastel de N4ta 2024-10-02 13:37:28 +01:00
parent 9397352e98
commit 0b5354164b
No known key found for this signature in database

View file

@ -169,7 +169,7 @@ button.inline {
}
}
&:has(input[type="search"]:focus) {
&:focus-within {
outline: 5px auto Highlight;
outline: 5px auto -webkit-focus-ring-color;
}