mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
dropdown_lists: Simplify selected item-text class.
This commit is contained in:
@@ -1920,7 +1920,7 @@ textarea.new_message_textarea {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.dropdown-list-bold-selected {
|
||||
.dropdown-list-text-selected {
|
||||
font-weight: 500;
|
||||
max-width: 210px;
|
||||
display: inline-block;
|
||||
|
||||
@@ -523,7 +523,7 @@
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
.dropdown-list-item-common-styles .dropdown-list-bold-selected {
|
||||
.dropdown-list-item-common-styles .dropdown-list-text-selected {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
|
||||
@@ -2274,7 +2274,7 @@ body:not(.spectator-view) {
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown-list-item-common-styles .dropdown-list-bold-selected {
|
||||
.dropdown-list-item-common-styles .dropdown-list-text-selected {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<a class="dropdown-list-item-common-styles">
|
||||
<span class="dropdown-list-item-name">
|
||||
{{#if bold_current_selection}}
|
||||
<span class="dropdown-list-bold-selected">{{name}}</span>
|
||||
<span class="dropdown-list-text-selected">{{name}}</span>
|
||||
{{#if has_edit_icon}}
|
||||
{{> components/icon_button custom_classes="dropdown-list-edit dropdown-list-control-button" intent="neutral" icon="edit" aria-label=edit_icon_label }}
|
||||
{{/if}}
|
||||
@@ -41,7 +41,7 @@
|
||||
<i class="zulip-icon zulip-icon-equal channel-privacy-type-icon" aria-hidden="true"></i> {{name}}
|
||||
{{else}}
|
||||
{{#if bold_current_selection}}
|
||||
<span class="dropdown-list-bold-selected">{{name}}</span>
|
||||
<span class="dropdown-list-text-selected">{{name}}</span>
|
||||
{{else}}
|
||||
{{name}}
|
||||
{{/if}}
|
||||
|
||||
Reference in New Issue
Block a user