Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
settings: Fix alignment of `Forgot it` for change your password.
Shubham Padia2778aa5b0ec8
diff --git a/web/styles/settings.css b/web/styles/settings.cssindex 3bdd94b66be..ce19291fd41 100644--- a/web/styles/settings.css+++ b/web/styles/settings.css@@ -1207,6 +1207,19 @@ input[type="checkbox"] {opacity: 1;}}++ .settings-forgot-password {+ /* Make the link itself a flex container,+ so we can perfectly center the text+ in relation to the input box. */+ display: flex;+ align-items: center;+ margin-left: 10px;+ /* Make the bottom margin same as `.modal_password_input`+ for proper centering, if the margin changes there,+ it should also change here and vice versa. */+ margin-bottom: 10px;+ }}}diff --git a/web/styles/zulip.css b/web/styles/zulip.cssindex 0d1c23f4caf..4822da40d49 100644--- a/web/styles/zulip.css+++ b/web/styles/zulip.css@@ -1028,13 +1028,6 @@ strong {font-size: 60%;}-.settings-forgot-password {- display: inline-block;- position: relative;- color: hsl(0deg 0% 73%);- bottom: 4px;-}-div.message-list {border-collapse: separate;margin-left: auto;diff --git a/web/templates/dialog_change_password.hbs b/web/templates/dialog_change_password.hbsindex 0bfd843045d..489e7e456dd 100644--- a/web/templates/dialog_change_password.hbs+++ b/web/templates/dialog_change_password.hbs@@ -3,9 +3,7 @@<label for="old_password" class="modal-field-label">{{t "Old password" }}</label><input type="password" autocomplete="off" name="old_password" id="old_password" class="w-200 inline-block modal_password_input" value="" /><i class="fa fa-eye-slash password_visibility_toggle tippy-zulip-tooltip" role="button" tabindex="0"></i>- <div class="settings-forgot-password">- <a href="/accounts/password/reset/" class="sea-green" target="_blank" rel="noopener noreferrer">{{t "Forgot it?" }}</a>- </div>+ <a href="/accounts/password/reset/" class="settings-forgot-password sea-green" target="_blank" rel="noopener noreferrer">{{t "Forgot it?" }}</a></div><div class="settings-password-div"><label for="new_password" class="modal-field-label">{{t "New password" }}</label>