From db825ad202a218ae61cab0f77cdaf5a96b8776a1 Mon Sep 17 00:00:00 2001 From: Sahil Batra Date: Mon, 19 Jun 2023 15:27:45 +0530 Subject: [PATCH] settings: Remove settings_text_input class from url type inputs. This commit removes settings_text_input class from url type inputs and we instead add the width property to settings_url_input. 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/settings.css | 3 ++- web/templates/settings/custom_user_profile_field.hbs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/web/styles/settings.css b/web/styles/settings.css index 2c876a645b..657157bc87 100644 --- a/web/styles/settings.css +++ b/web/styles/settings.css @@ -383,7 +383,8 @@ td .button { } } -.settings_text_input { +.settings_text_input, +.settings_url_input { /* 311px + 2 * 6px (padding) + 2 * 1px (border) = 325px (min width of select elements in settings) */ width: 311px; diff --git a/web/templates/settings/custom_user_profile_field.hbs b/web/templates/settings/custom_user_profile_field.hbs index 8097c04e0b..17ca5abcc2 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}}