dropdown_lists: Simplify selected item-text class.

This commit is contained in:
Karl Stolley
2025-08-12 13:12:06 -04:00
committed by Tim Abbott
parent f1d1d5f1a4
commit 4c129e73b7
4 changed files with 5 additions and 5 deletions

View File

@@ -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;

View File

@@ -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;
}

View File

@@ -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;
}

View File

@@ -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}}