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

master
mahdi 2 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 ${ className={`${className} flex border relative w-full ${
values values
? "rounded-md h-full min-h-[50px]" ? "rounded-md h-full min-h-[35px]"
: " rounded-md h-9 aspect-[1/2]" : " rounded-md h-9 aspect-[1/2]"
}`} }`}
> >
@ -41,7 +41,7 @@ const CustomSwitch = ({
}`} }`}
></div> ></div>
{values ? ( {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 <div
className={ className={
" w-1/2 h-full flex items-center justify-center cursor-pointer text-xs" + " w-1/2 h-full flex items-center justify-center cursor-pointer text-xs" +

Loading…
Cancel
Save