style(next): fall back to the user agent's default check boxes and radio buttons if the ":has" selector is not supported

This commit is contained in:
Adorian Doran 2025-01-24 22:45:58 +02:00
parent 41ef47576d
commit 97295e959b

View File

@ -183,6 +183,10 @@ optgroup {
line-height: 40px;
}
/* Check boxes and radio buttons */
@supports selector(label:has(*)) {
/* Check box & radio button commons */
/* The parent label */
@ -314,6 +318,8 @@ label.tn-checkbox:has(> input[type="checkbox"]:disabled)::after {
opacity: .5;
}
}
/* Links */
body a.tn-link,