diff --git a/packages/ui/src/pages/Register/index.module.scss b/packages/ui/src/pages/Register/index.module.scss index b9ca9a674..a3132d8bc 100644 --- a/packages/ui/src/pages/Register/index.module.scss +++ b/packages/ui/src/pages/Register/index.module.scss @@ -9,6 +9,7 @@ .createAccount { margin-top: _.unit(2); text-align: center; + margin-bottom: _.unit(4); } .placeHolder { diff --git a/packages/ui/src/pages/Register/index.tsx b/packages/ui/src/pages/Register/index.tsx index a3a168114..799346a0b 100644 --- a/packages/ui/src/pages/Register/index.tsx +++ b/packages/ui/src/pages/Register/index.tsx @@ -25,6 +25,14 @@ const Register = () => { )} {signUpMethods.length === 0 && socialConnectors.length > 0 && } + { + // SignIn footer + signInMode === SignInMode.SignInAndRegister && signInMethods.length > 0 && ( +
+ {t('description.have_account')} +
+ ) + } { // Social sign-in methods signUpMethods.length > 0 && socialConnectors.length > 0 && ( @@ -34,18 +42,6 @@ const Register = () => { ) } - { - // SignIn footer - signInMode === SignInMode.SignInAndRegister && signInMethods.length > 0 && ( - <> -
-
- {t('description.have_account')}{' '} - -
- - ) - } ); }; diff --git a/packages/ui/src/pages/SignIn/index.module.scss b/packages/ui/src/pages/SignIn/index.module.scss index 4474f5dd8..fa5beaa66 100644 --- a/packages/ui/src/pages/SignIn/index.module.scss +++ b/packages/ui/src/pages/SignIn/index.module.scss @@ -10,6 +10,7 @@ .createAccount { margin-top: _.unit(2); text-align: center; + margin-bottom: _.unit(4); } .placeHolder {