Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

settings: Rename overly generic field and field_hint classes.

Tim Abbottac0673e0b5dd
diff --git a/web/styles/settings.css b/web/styles/settings.css
index 0db2efe0dd6..0789fd2ec61 100644
--- a/web/styles/settings.css
+++ b/web/styles/settings.css
@@ -1504,7 +1504,7 @@ $option_title_width: 180px;
.custom_user_field,
.user-name-section {
- .field_hint {
+ .settings-profile-field-user-hint {
color: var(--color-text-settings-field-hint);
}
}
diff --git a/web/templates/settings/custom_user_profile_field.hbs b/web/templates/settings/custom_user_profile_field.hbs
index 17ca5abcc2e..828a189e6fa 100644
--- a/web/templates/settings/custom_user_profile_field.hbs
+++ b/web/templates/settings/custom_user_profile_field.hbs
@@ -1,8 +1,8 @@
<div class="custom_user_field" name="{{ field.name }}" data-field-id="{{ field.id }}">
<label class="inline-block" for="{{ field.name }}" class="title">{{ field.name }}</label>
<div class="alert-notification custom-field-status"></div>
- <div class="field_hint">{{ field.hint }}</div>
- <div class="field">
+ <div class="settings-profile-field-user-hint">{{ field.hint }}</div>
+ <div class="settings-profile-user-field">
{{#if is_long_text_field}}
<textarea maxlength="500" class="custom_user_field_value settings_textarea">{{ field_value.value }}</textarea>
{{else if is_select_field}}