Skip to content

🎥 Make videos programmatically with React

`@remotion/design`: Remove box-content from Switch inner element (#6941)

Jonny Burger7d982f549660
diff --git a/packages/design/src/Switch.tsx b/packages/design/src/Switch.tsx
index ab654eedd0..4cb02776fa 100644
--- a/packages/design/src/Switch.tsx
+++ b/packages/design/src/Switch.tsx
@@ -12,7 +12,7 @@ export const Switch: React.FC<{
>
<div
data-active={active}
- className="h-[20px] w-[20px] box-content left-[4px] top-[4px] transition-all rounded-full bg-white border-2 border-black absolute data-[active=true]:left-[calc(100%-24px)]"
+ className="h-[20px] w-[20px] left-[4px] top-[4px] transition-all rounded-full bg-white border-2 border-black absolute data-[active=true]:left-[calc(100%-24px)]"
/>
</div>
);