small fixes to switch (#4067)

Co-authored-by: Carina Wollendorfer <[email protected]>
This commit is contained in:
Peer RichelsenandCarina Wollendorfer authored and GitHub committed 2022-09-01 18:48:25 -04:00
1 parent 0db1b3f023
commit b09d727d3f
1 file changed
+1 -1
+1 -1
View File
@@ -18,7 +18,7 @@ const Switch = (
<PrimitiveSwitch.Root
className={classNames(
props.checked ? "bg-gray-900" : "bg-gray-200 hover:bg-gray-300",
"focus:ring-brand-800 h-[24px] w-[40px] rounded-full p-0.5 shadow-inner focus:ring-1"
"focus:ring-brand-800 h-[24px] w-[40px] rounded-full p-[3px] shadow-inner"
)}
{...primitiveProps}>
<PrimitiveSwitch.Thumb