mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 09:58:06 +00:00
status_emoji: Allow status emoji to scale with text.
This commit is contained in:
@@ -1653,11 +1653,12 @@ div.toggle_resolve_topic_spinner .loading_indicator_spinner {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.status-emoji {
|
.status-emoji {
|
||||||
height: 16px;
|
/* 16px at 14px/1em */
|
||||||
width: 16px;
|
height: 1.1429em;
|
||||||
|
width: 1.1429em;
|
||||||
/* We are setting minimum width here because when the user's name is very long,
|
/* We are setting minimum width here because when the user's name is very long,
|
||||||
emoji's width decreases and causes it to break. */
|
emoji's width decreases and causes it to break. */
|
||||||
min-width: 16px;
|
min-width: 1.1429em;
|
||||||
/* In most contexts, status emoji appear immediately after a name
|
/* In most contexts, status emoji appear immediately after a name
|
||||||
field with no margin. Position the status emoji with 3px of left
|
field with no margin. Position the status emoji with 3px of left
|
||||||
margin to space it from the name, and set no right margin so
|
margin to space it from the name, and set no right margin so
|
||||||
|
|||||||
Reference in New Issue
Block a user