File tree Expand file tree Collapse file tree 1 file changed +22
-22
lines changed
client/modules/User/components Expand file tree Collapse file tree 1 file changed +22
-22
lines changed Original file line number Diff line number Diff line change @@ -66,28 +66,28 @@ function LoginForm() {
6666 { ...field . input }
6767 />
6868
69- < button
70- type = "button"
71- onClick = { handleVisibility }
72- aria-hidden = "true"
73- style = { {
74- background : 'none' ,
75- border : 'none' ,
76- cursor : 'pointer' ,
77- display : 'flex' ,
78- alignItems : 'center' ,
79- justifyContent : 'center' ,
80- padding : '0 10px ' ,
81- paddingBottom :'16px' // Add padding
82- } }
83- >
84- { showPassword ? (
85- < AiOutlineEyeInvisible style = { { fontSize : '24px' } } /> // Add inline styles
86- ) : (
87- < AiOutlineEye style = { { fontSize : '24px' } } /> // Add inline styles
88- ) }
89- </ button >
90- </ div >
69+ < button
70+ type = "button"
71+ onClick = { handleVisibility }
72+ aria-hidden = "true"
73+ style = { {
74+ background : 'none' ,
75+ border : 'none' ,
76+ cursor : 'pointer' ,
77+ display : 'flex' ,
78+ alignItems : 'center' ,
79+ justifyContent : 'center' ,
80+ padding : '0 10px ' ,
81+ paddingBottom : '16px' // Add padding
82+ } }
83+ >
84+ { showPassword ? (
85+ < AiOutlineEyeInvisible style = { { fontSize : '24px' } } /> // Add inline styles
86+ ) : (
87+ < AiOutlineEye style = { { fontSize : '24px' } } /> // Add inline styles
88+ ) }
89+ </ button >
90+ </ div >
9191 { field . meta . touched && field . meta . error && (
9292 < span className = "form-error" aria-live = "polite" >
9393 { field . meta . error }
You can’t perform that action at this time.
0 commit comments