From 0b5354164b508464a31d7dff0ec06c2e032163f1 Mon Sep 17 00:00:00 2001 From: Pastel de N4ta Date: Wed, 2 Oct 2024 13:37:28 +0100 Subject: [PATCH] Use :focus-within instead of :has for better legacy support --- static-src/styles/forms.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static-src/styles/forms.scss b/static-src/styles/forms.scss index 44f7853..eb766cd 100644 --- a/static-src/styles/forms.scss +++ b/static-src/styles/forms.scss @@ -169,7 +169,7 @@ button.inline { } } - &:has(input[type="search"]:focus) { + &:focus-within { outline: 5px auto Highlight; outline: 5px auto -webkit-focus-ring-color; }