Skip to content

Commit f257c5e

Browse files
Merge pull request #41 from The-Creative-Programming-Group/fix-otp-page
fix the visibility on the otp page
2 parents 01da0f3 + bbb25f1 commit f257c5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/ui/input-otp.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const InputOtp = ({ onCodeChange }: InputOtpProps) => {
4747
key={i}
4848
ref={inputRefs[i]}
4949
maxLength={1}
50-
className={`h-14 w-14 rounded-2xl border-2 bg-secondary text-center text-xl leading-[0] text-text dark:bg-dark-secondary dark:text-dark-text ${
50+
className={`h-14 w-14 rounded-2xl border-2 bg-secondary text-center text-xl leading-none text-text dark:bg-dark-secondary dark:text-dark-text ${
5151
focusedIndex === i
5252
? "border-accent"
5353
: "border-stroke dark:border-dark-stroke"
@@ -65,7 +65,7 @@ const InputOtp = ({ onCodeChange }: InputOtpProps) => {
6565
key={i + 3}
6666
ref={inputRefs[i + 3]}
6767
maxLength={1}
68-
className={`h-14 w-14 rounded-2xl border-2 bg-secondary text-center text-xl leading-[0] text-text dark:bg-dark-secondary dark:text-dark-text ${
68+
className={`h-14 w-14 rounded-2xl border-2 bg-secondary text-center text-xl leading-none text-text dark:bg-dark-secondary dark:text-dark-text ${
6969
focusedIndex === i + 3
7070
? "border-accent"
7171
: "border-stroke dark:border-dark-stroke"

0 commit comments

Comments
 (0)