Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

Fix switch

Ivan Starkov54f16748d2e3
diff --git a/packages/design-system/src/components/switch.tsx b/packages/design-system/src/components/switch.tsx
index 3a0ad4f1ab..fc0cd50974 100644
--- a/packages/design-system/src/components/switch.tsx
+++ b/packages/design-system/src/components/switch.tsx
@@ -15,7 +15,7 @@ const StyledThumb = styled(SwitchPrimitive.Thumb, {
willChange: "transform",
'&[data-state="checked"]': {
- transform: "translateX(1$spacing$1)",
+ transform: "translateX($spacing$6)",
},
});