update src/components/CustomSwitch/index.js and src/components/FormInput/index.js

master
mahdi 3 years ago
parent 1f641bd7d9
commit 2363b05446
  1. 4
      src/components/CustomSwitch/index.js

@ -20,7 +20,7 @@ const CustomSwitch = ({
}}
className={`${className} flex border relative w-full ${
values
? "rounded-md h-full min-h-[50px]"
? "rounded-md h-full min-h-[35px]"
: " rounded-md h-9 aspect-[1/2]"
}`}
>
@ -41,7 +41,7 @@ const CustomSwitch = ({
}`}
></div>
{values ? (
<div className=" w-[98%] h-[90%] flex flex-row-reverse right-[1%] top-[5%] z-10 absolute text-white">
<div className=" w-[98%] h-[90%] flex flex-row-reverse right-[1%] top-[5%] z-10 absolute text-xs">
<div
className={
" w-1/2 h-full flex items-center justify-center cursor-pointer text-xs" +

Loading…
Cancel
Save