Skip to content

Commit 42a2fb5

Browse files
committed
fix: swap indeterminate not being visible with flip animation. closes: #3806
1 parent 1d7eaed commit 42a2fb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/daisyui/src/components/swap.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
input:checked ~ .swap-on,
2929
input:indeterminate ~ .swap-indeterminate {
3030
@apply opacity-100;
31+
backface-visibility: visible;
3132
}
3233
}
3334

@@ -67,7 +68,6 @@
6768
input:indeterminate ~ .swap-on {
6869
transform: rotateY(180deg);
6970
backface-visibility: hidden;
70-
@apply opacity-100;
7171
}
7272

7373
input:is(:checked, :indeterminate) ~ .swap-on,

0 commit comments

Comments
 (0)