diff --git a/src/components/CustomSwitch/index.js b/src/components/CustomSwitch/index.js index 8c8511f..0bd7e03 100644 --- a/src/components/CustomSwitch/index.js +++ b/src/components/CustomSwitch/index.js @@ -18,10 +18,10 @@ const CustomSwitch = ({ setValue(!value); register.onChange({ target: { name: register.name, value: !value } }); }} - className={`${className} flex border border-blue-500 relative ${ + className={`${className} flex border relative w-full ${ values - ? "rounded h-full min-h-[50px]" - : " rounded-full h-9 aspect-[1/2]" + ? "rounded-md h-full min-h-[50px]" + : " rounded-md h-9 aspect-[1/2]" }`} > - {values ? ( -