File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed
src/components/login-form Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -75,9 +75,9 @@ export const ContinueWithEmail: FC<{
75
75
isInvalid = { error === 'userDoesNotExist' }
76
76
errorMessage = { error === 'userDoesNotExist' && t ( `errors.${ error } ` ) }
77
77
/>
78
- < div className = "flex items-start gap-4" >
78
+ < div className = "mt-2 flex items-start gap-4" >
79
79
< Input
80
- className = "mt-2 flex-grow"
80
+ className = "flex-grow"
81
81
label = { t ( 'inputs.password' ) }
82
82
variant = "bordered"
83
83
labelPlacement = "outside"
@@ -104,12 +104,7 @@ export const ContinueWithEmail: FC<{
104
104
errorMessage = { error === 'incorrectPassword' && t ( `errors.${ error } ` ) }
105
105
/>
106
106
107
- < Button
108
- className = "mt-[34px]"
109
- variant = "solid"
110
- color = "primary"
111
- type = "submit"
112
- >
107
+ < Button className = "mt-6" variant = "solid" color = "primary" type = "submit" >
113
108
{ t ( 'send' ) }
114
109
</ Button >
115
110
</ div >
Original file line number Diff line number Diff line change @@ -23,18 +23,22 @@ export const LoginForm: FC<{
23
23
{ Icon && (
24
24
< Icon className = "mx-auto mb-4 text-brand-600" stroke = { 1 } size = { 72 } />
25
25
) }
26
- < h2 className = "mb-2 text-center font-title text-2xl font-semibold uppercase text-stone-800" >
26
+ < h2 className = "text-center font-title text-2xl font-semibold uppercase text-stone-800" >
27
27
{ title ? title : t ( 'login' ) }
28
28
</ h2 >
29
+
29
30
< ContinueWithEmail />
31
+
30
32
< div className = "mb-2 mt-4 flex items-center gap-2" >
31
33
< div className = "flex-1 border-t border-stone-300" aria-hidden />
32
34
< h3 className = " inline-block font-title text-sm font-medium uppercase text-stone-600" >
33
35
{ t ( 'continue-with' ) }
34
36
</ h3 >
35
37
< div className = "flex-1 border-t border-stone-300" aria-hidden />
36
38
</ div >
39
+
37
40
< ContinueWithProvider />
41
+
38
42
{ ! registerDisabled && (
39
43
< >
40
44
< h2 className = "mb-2 mt-10 text-center font-title text-2xl font-semibold uppercase text-stone-800" >
You can’t perform that action at this time.
0 commit comments