mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
layout: Tweak dropdown for correct icon-label alignment.
This commit is contained in:
@@ -2279,10 +2279,18 @@ body:not(.spectator-view) {
|
||||
align-self: start;
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown-list-text-neutral {
|
||||
grid-area: item-text;
|
||||
align-self: center;
|
||||
}
|
||||
}
|
||||
|
||||
/* This correctly places neutral text items
|
||||
appearing without a wrapping
|
||||
`.dropdown-list-item-name` class. */
|
||||
.dropdown-list-text-neutral {
|
||||
grid-area: item-text;
|
||||
grid-area: item-label;
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
|
@@ -42,7 +42,7 @@
|
||||
</span>
|
||||
{{else if (eq unique_id -2)}}
|
||||
{{!-- This is the option for PresetUrlOption.MAPPING --}}
|
||||
<i class="zulip-icon zulip-icon-equal channel-privacy-type-icon" aria-hidden="true"></i> <span class="dropdown-list-text-selected">{{name}}</span>
|
||||
<i class="zulip-icon zulip-icon-equal channel-privacy-type-icon" aria-hidden="true"></i> <span class="dropdown-list-text-neutral">{{name}}</span>
|
||||
{{else}}
|
||||
<span class="dropdown-list-item-name">
|
||||
{{#if bold_current_selection}}
|
||||
|
Reference in New Issue
Block a user