Skip to content

Commit 624602c

Browse files
author
jagdeep sidhu
committed
Bug: Trailing Tab Breaks CSS Class Application
A literal tab character (\t) at the end of the opacity-60 class string in the button's className prop creates an invalid CSS class, preventing the opacity style from applying correctly.
1 parent a3604dd commit 624602c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/pages/SeedConfirm/CreatePhrase.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export const CreatePhrase = ({ password }: { password: string }) => {
101101
id="unlock-btn"
102102
type="button"
103103
className={`bg-brand-deepPink100 ${
104-
isTermsConfirmed ? 'opacity-100' : 'opacity-60\t'
104+
isTermsConfirmed ? 'opacity-100' : 'opacity-60'
105105
} w-[17.5rem] h-10 text-white text-base font-base font-medium rounded-2xl`}
106106
onClick={handleNext}
107107
>

0 commit comments

Comments
 (0)