change otp form

This commit is contained in:
Ehsan
2024-10-30 11:50:27 +03:30
parent bc26faa77c
commit 50af28b22c
+1 -2
View File
@@ -6,7 +6,6 @@ function OTPForm({ handleOTP }) {
return (
<input
value={code}
type="number"
onChange={(e) => {
const value = e.target.value;
@@ -18,7 +17,7 @@ function OTPForm({ handleOTP }) {
e.target.value = "";
}
}}
className={`border border-solid border-[#ADB5BD] rounded-[6px] text-center transition-all duration-500 ease-out
className={`border otp-field border-solid border-[#ADB5BD] rounded-[6px] text-center transition-all duration-500 ease-out
outline-none focus:!border-[1px] focus:!border-solid focus:!border-[#5559CE]
focus:!outline-[1px] focus:!outline-solid focus:!outline-[#5559CE] bg-transparent text-[#525252]
w-[43px] h-[43px] sm:w-[45px] sm:h-[45px] md:w-[47px] md:h-[47px] lg:w-[48px] lg:h-[48px]