mirror of https://github.com/zulip/zulip.git
compose: Align multi-line text in dropdowns.
Using flexbox to left-align icon with the text on the first line. Fixes part of #30469.
This commit is contained in:
parent
b705c0ef27
commit
c6d975f44d
|
@ -2285,9 +2285,10 @@ body:not(.hide-left-sidebar) {
|
|||
}
|
||||
|
||||
.dropdown-list-container .dropdown-list .dropdown-list-item-common-styles {
|
||||
display: block;
|
||||
display: flex;
|
||||
color: var(--color-dropdown-item);
|
||||
padding: 3px 10px 3px 8px;
|
||||
gap: 4px;
|
||||
font-weight: 400;
|
||||
line-height: 20px;
|
||||
white-space: normal;
|
||||
|
@ -2299,6 +2300,10 @@ body:not(.hide-left-sidebar) {
|
|||
padding-right: 2px;
|
||||
}
|
||||
|
||||
.zulip-icon {
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
&:focus,
|
||||
&:hover {
|
||||
color: var(--color-dropdown-item);
|
||||
|
|
Loading…
Reference in New Issue