From ee1f3a4b2506af3fe06bf1e5f2dad03f44df0b76 Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Mon, 19 Jun 2017 16:09:29 +0530 Subject: [PATCH] UX: make font size consistent on password reset modal --- .../discourse/templates/modal/forgot-password.hbs | 2 +- app/assets/stylesheets/common/base/modal.scss | 5 +++++ config/locales/client.en.yml | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/modal/forgot-password.hbs b/app/assets/javascripts/discourse/templates/modal/forgot-password.hbs index 6210b63b0e3..69cf6e73b2d 100644 --- a/app/assets/javascripts/discourse/templates/modal/forgot-password.hbs +++ b/app/assets/javascripts/discourse/templates/modal/forgot-password.hbs @@ -1,5 +1,5 @@
- {{#d-modal-body}} + {{#d-modal-body class="forgot-password-modal"}} {{#unless offerHelp}} {{text-field value=accountEmailOrUsername placeholderKey="login.email_placeholder" id="username-or-email" autocorrect="off" autocapitalize="off"}} diff --git a/app/assets/stylesheets/common/base/modal.scss b/app/assets/stylesheets/common/base/modal.scss index c69d4a40583..8cf03acc167 100644 --- a/app/assets/stylesheets/common/base/modal.scss +++ b/app/assets/stylesheets/common/base/modal.scss @@ -212,6 +212,11 @@ display: inline-block; margin-right: 10px; } + + // password reset modal + .modal-body.forgot-password-modal p { + font-size: 14px; + } } .reply-where-modal { diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 11ae9ddd395..4e7bcd34123 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -1036,7 +1036,7 @@ en: complete_username_not_found: "No account matches the username %{username}" complete_email_not_found: "No account matches %{email}" - help: "

Email not arriving? Be sure to check your spam folder first.

Not sure which email address you used? Enter an email address and we’ll let you know if it exists here.

If you no longer have access to the email address on your account, please contact our helpful staff.

" + help: "Email not arriving? Be sure to check your spam folder first.

Not sure which email address you used? Enter an email address and we’ll let you know if it exists here.

If you no longer have access to the email address on your account, please contact our helpful staff.

" button_ok: "OK" button_help: "Help" login: