From 7d0da754301e13eaf17b8018545b593ccb56e145 Mon Sep 17 00:00:00 2001 From: Sahil Batra Date: Mon, 19 Jun 2023 15:26:03 +0530 Subject: [PATCH] modal: Remove modal_text_input class from password and url type inputs. We remove the modal_text_input class from password and url type inputs in modals and add the width property CSS to modal_password_input and modal_url_input instead. Note that we might instead have a single class for all type of inputs instead of having different classes for url, password and text type inputs in further commits. --- web/styles/modal.css | 1 + web/templates/dialog_change_password.hbs | 4 ++-- web/templates/settings/api_key_modal.hbs | 2 +- web/templates/settings/custom_user_profile_field.hbs | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/web/styles/modal.css b/web/styles/modal.css index 29a11d027f..47a62835d3 100644 --- a/web/styles/modal.css +++ b/web/styles/modal.css @@ -365,6 +365,7 @@ box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%); transition: border linear 0.2s, box-shadow linear 0.2s; margin-bottom: 10px; + width: 206px; &:focus { border-color: hsl(206deg 80% 62% / 80%); diff --git a/web/templates/dialog_change_password.hbs b/web/templates/dialog_change_password.hbs index 3636c33862..7e79992225 100644 --- a/web/templates/dialog_change_password.hbs +++ b/web/templates/dialog_change_password.hbs @@ -1,7 +1,7 @@
- +
{{t "Forgot it?" }} @@ -9,7 +9,7 @@
-
diff --git a/web/templates/settings/api_key_modal.hbs b/web/templates/settings/api_key_modal.hbs index f34ad99d77..c4c94d75e6 100644 --- a/web/templates/settings/api_key_modal.hbs +++ b/web/templates/settings/api_key_modal.hbs @@ -14,7 +14,7 @@

{{t "Please re-enter your password to confirm your identity." }}

- +

diff --git a/web/templates/settings/custom_user_profile_field.hbs b/web/templates/settings/custom_user_profile_field.hbs index a0c2f79dd3..8097c04e0b 100644 --- a/web/templates/settings/custom_user_profile_field.hbs +++ b/web/templates/settings/custom_user_profile_field.hbs @@ -21,7 +21,7 @@ value="{{ field_value.value }}" /> {{else if is_url_field }} - + {{else if is_pronouns_field}} {{else}}