mirror of
https://github.com/zulip/zulip.git
synced 2025-11-20 22:48:16 +00:00
layout: Tweak dropdown for correct icon-label alignment.
This commit is contained in:
@@ -2279,12 +2279,20 @@ body:not(.spectator-view) {
|
|||||||
align-self: start;
|
align-self: start;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.dropdown-list-text-neutral {
|
.dropdown-list-text-neutral {
|
||||||
grid-area: item-text;
|
grid-area: item-text;
|
||||||
align-self: center;
|
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-label;
|
||||||
|
align-self: center;
|
||||||
|
}
|
||||||
|
|
||||||
.dropdown-list-buttons {
|
.dropdown-list-buttons {
|
||||||
grid-area: item-buttons;
|
grid-area: item-buttons;
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
</span>
|
</span>
|
||||||
{{else if (eq unique_id -2)}}
|
{{else if (eq unique_id -2)}}
|
||||||
{{!-- This is the option for PresetUrlOption.MAPPING --}}
|
{{!-- 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}}
|
{{else}}
|
||||||
<span class="dropdown-list-item-name">
|
<span class="dropdown-list-item-name">
|
||||||
{{#if bold_current_selection}}
|
{{#if bold_current_selection}}
|
||||||
|
|||||||
Reference in New Issue
Block a user