Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
typeahead: Fix left margin for groups icon in typeahead.
Sahil Batra8a76da5953ea
diff --git a/web/styles/typeahead.css b/web/styles/typeahead.cssindex 2c34d985047..222c13a9285 100644--- a/web/styles/typeahead.css+++ b/web/styles/typeahead.css@@ -190,7 +190,13 @@}&.no-presence-circle {- margin-left: 0.7368em; /* 14px at 19px/1em */+ /* 0.6875 * var(--base-font-size) is the width of presence+ circle, 2px is right margin of the presence circle and+ 0.3571 * var(--base-font-size-px) is gap between the presence+ circle and avatar. Cannot directly use 0.6875em or 0.3571em+ since font-size for triple users icon is different from the+ font size used to calculate presence circle width and gap. */+ margin-left: calc((0.6875 + 0.3571) * var(--base-font-size-px) + 2px);}}