diff --git a/public/locales/ru/translation.json b/public/locales/ru/translation.json index aefc7365..6f22296d 100644 --- a/public/locales/ru/translation.json +++ b/public/locales/ru/translation.json @@ -142,7 +142,7 @@ "No such account, please try to register": "Такой адрес не найден, попробуйте зарегистрироваться", "Nothing here yet": "Здесь пока ничего нет", "Nothing is here": "Здесь ничего нет", - "Or continue with social network": "Или продолжите через соцсеть", + "Or continue with social network": "Или войдите через соцсеть", "Or paste a link to an image": "Или вставьте ссылку на изображение", "Our regular contributor": "Наш постоянный автор", "Paragraphs": "Абзацев", diff --git a/src/components/Nav/AuthModal/AuthModal.module.scss b/src/components/Nav/AuthModal/AuthModal.module.scss index 075ef974..1d319c1d 100644 --- a/src/components/Nav/AuthModal/AuthModal.module.scss +++ b/src/components/Nav/AuthModal/AuthModal.module.scss @@ -105,20 +105,19 @@ .auth { display: flex; flex-direction: column; - justify-content: center; padding: $container-padding-x; @include media-breakpoint-up(lg) { - padding: 10rem 6rem; + padding: 4rem !important; } } .submitButton { display: block; font-weight: 700; + margin-top: 32px; padding: 1.6rem !important; width: 100%; - margin-top: 32px; } .authControl { @@ -129,12 +128,12 @@ .authLink { cursor: pointer; + @include font-size(1.6rem); } .authSubtitle { @include font-size(1.5rem); - - margin: 1em; + margin-bottom: 1em; } .authInfo { @@ -147,6 +146,21 @@ } } +.authForm { + display: flex; + flex: 1; + flex-direction: column; + justify-content: space-between; + + h4 { + font-weight: bold; + } +} + +.authFormForgetPassword { + justify-content: center; +} + .validationError { position: relative; top: -8px; diff --git a/src/components/Nav/AuthModal/ForgotPasswordForm.tsx b/src/components/Nav/AuthModal/ForgotPasswordForm.tsx index ca76687d..04e76b3d 100644 --- a/src/components/Nav/AuthModal/ForgotPasswordForm.tsx +++ b/src/components/Nav/AuthModal/ForgotPasswordForm.tsx @@ -66,57 +66,59 @@ export const ForgotPasswordForm = () => { } return ( -
) diff --git a/src/components/Nav/AuthModal/LoginForm.tsx b/src/components/Nav/AuthModal/LoginForm.tsx index d15c8700..40b234cc 100644 --- a/src/components/Nav/AuthModal/LoginForm.tsx +++ b/src/components/Nav/AuthModal/LoginForm.tsx @@ -115,82 +115,86 @@ export const LoginForm = () => { } return ( -