mirror of https://github.com/zulip/zulip.git
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.
This commit is contained in:
parent
7d0da75430
commit
db825ad202
|
@ -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;
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
value="{{ field_value.value }}" />
|
||||
<span class="remove_date"><i class="fa fa-close"></i></span>
|
||||
{{else if is_url_field }}
|
||||
<input class="custom_user_field_value {{#if for_manage_user_modal}}modal_url_input{{else}}settings_text_input settings_url_input{{/if}}" type="{{ field_type }}" value="{{ field_value.value }}" maxlength="2048" />
|
||||
<input class="custom_user_field_value {{#if for_manage_user_modal}}modal_url_input{{else}}settings_url_input{{/if}}" type="{{ field_type }}" value="{{ field_value.value }}" maxlength="2048" />
|
||||
{{else if is_pronouns_field}}
|
||||
<input class="custom_user_field_value pronouns_type_field {{#if for_manage_user_modal}}modal_text_input{{else}}settings_text_input{{/if}}" type="{{ field_type }}" value="{{ field_value.value }}" maxlength="50" />
|
||||
{{else}}
|
||||
|
|
Loading…
Reference in New Issue