Skip to content

Commit 18770e0

Browse files
committed
Remove text transition on Switch because it didn’t match the container
1 parent 884ec5e commit 18770e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/webapp/app/components/primitives/Switch.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const variations = {
1616
"flex items-center h-[1.5rem] gap-x-1.5 rounded hover:bg-tertiary disabled:hover:bg-transparent pr-1 py-[0.1rem] pl-1.5 transition focus-custom disabled:hover:text-charcoal-400 disabled:opacity-50 text-charcoal-400 hover:text-charcoal-200 disabled:hover:cursor-not-allowed hover:cursor-pointer",
1717
root: "h-3 w-6",
1818
thumb: "h-2.5 w-2.5 data-[state=checked]:translate-x-2.5 data-[state=unchecked]:translate-x-0",
19-
text: "text-xs transition",
19+
text: "text-xs",
2020
},
2121
};
2222

0 commit comments

Comments
 (0)