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.

css: Use classname for setting-disabled-option icon.

Shubham Padia9de064dc3e0f
diff --git a/web/styles/app_components.css b/web/styles/app_components.css
index 56f52189370..d995f515d36 100644
--- a/web/styles/app_components.css
+++ b/web/styles/app_components.css
@@ -1161,7 +1161,7 @@ div.overlay {
.setting-disabled-option {
color: hsl(38deg 46% 54%);
- & i {
+ .setting-disabled-option-icon {
/* Values set to match text alignment in stream dropdown. */
padding: 0 5px 0 1px;
}
diff --git a/web/templates/dropdown_list.hbs b/web/templates/dropdown_list.hbs
index a9bbfb597a3..7bf09403602 100644
--- a/web/templates/dropdown_list.hbs
+++ b/web/templates/dropdown_list.hbs
@@ -20,7 +20,7 @@
{{else if is_direct_message}}
<i class="zulip-icon zulip-icon-users stream-privacy-type-icon"></i> {{name}}
{{else if is_setting_disabled}}
- <span class="setting-disabled-option"><i class="fa fa-ban" aria-hidden="true"></i>{{t "Disable" }}</span>
+ <span class="setting-disabled-option"><i class="setting-disabled-option-icon fa fa-ban" aria-hidden="true"></i>{{t "Disable" }}</span>
{{else}}
{{#if bold_current_selection}}
<span class="dropdown-list-bold-selected">{{name}}</span>