Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

status_emoji: Allow status emoji to scale with text.

Karl Stolleyc0837a6d200f
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 2e8fbd2312b..90a9a7f911e 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -1653,11 +1653,12 @@ div.toggle_resolve_topic_spinner .loading_indicator_spinner {
}
.status-emoji {
- height: 16px;
- width: 16px;
+ /* 16px at 14px/1em */
+ height: 1.1429em;
+ width: 1.1429em;
/* We are setting minimum width here because when the user's name is very long,
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
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