Skip to content

Commit 189ca47

Browse files
authored
Fix inconsistent toggle size calculation on Safari when zoom level changes. closes: #4410
1 parent d7a2961 commit 189ca47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/daisyui/src/components/toggle.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
}
5555
}
5656
&:before {
57-
@apply rounded-selector relative start-0 col-start-2 row-start-1 aspect-square h-full bg-current;
57+
@apply rounded-selector relative start-0 col-start-2 row-start-1 aspect-square h-full w-full bg-current;
5858
translate: 0;
5959
--tw-content: "";
6060
content: var(--tw-content);

0 commit comments

Comments
 (0)