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

master
mahdi 3 years ago
parent a5cc845b06
commit a4e98efd2e
  1. 2
      src/components/AnimatedInput/Input.js

@ -30,7 +30,7 @@ const FormFields = ({
> >
<div <div
className={ className={
"text-xs absolute transition-all duration-300 pointer-events-none px-3 transform translate-x-[7px]" + "text-xs absolute transition-all duration-300 pointer-events-none px-3 transform -translate-x-[7px]" +
(value (value
? `text-[#2483E1] bg-white top-[-10px]` ? `text-[#2483E1] bg-white top-[-10px]`
: "text-[#0F0543] top-[10px]") : "text-[#0F0543] top-[10px]")

Loading…
Cancel
Save