Skip to content

Commit b4675c5

Browse files
committed
fix: ad1b77dd将Radio改为完全受控后,原来的input[type=radio]:checked的css不再生效,造成radio点击后无法显示被点击的状态。
1 parent a996fc4 commit b4675c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/themes/dynamicLight/components.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ body:has(.root) {
4848
input[type=radio] {
4949
border-color: oklch(0.68 0.17 var(--hue));
5050

51-
&:checked {
51+
&[checked] {
5252
background-color: oklch(0.68 0.17 var(--hue));
5353
border-color: oklch(0.68 0.17 var(--hue));
5454
}

0 commit comments

Comments
 (0)