mirror of https://github.com/zulip/zulip.git
right_sidebar: Calculate margin-top on shortcuts.
This commit is contained in:
parent
97d401a0a1
commit
e42f9a1efd
|
@ -341,7 +341,11 @@ $user_status_emoji_width: 24px;
|
|||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
margin-top: 5px;
|
||||
/* The margin top is calculated from a legacy 25px height,
|
||||
from a 20px line of text and 5px of margin top. We calculate
|
||||
a scaling margin-top by subtracting the em-unit line height
|
||||
from the legacy value. */
|
||||
margin-top: calc(25px - (var(--legacy-body-line-height-unitless) * 1em));
|
||||
}
|
||||
|
||||
#user_search_section {
|
||||
|
|
Loading…
Reference in New Issue