diff --git a/packages/ui/components/form/switch/Switch.tsx b/packages/ui/components/form/switch/Switch.tsx index 18d61df489..b4f4862082 100644 --- a/packages/ui/components/form/switch/Switch.tsx +++ b/packages/ui/components/form/switch/Switch.tsx @@ -47,7 +47,7 @@ export const Switch = ( className={cx( "flex h-auto w-fit flex-row items-center", fitToHeight && "h-fit", - labelOnLeading && "w-full flex-row-reverse justify-between", + labelOnLeading && "flex-row-reverse justify-between", padding && "hover:bg-subtle rounded-md p-1.5", classNames?.container )}>