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.

typeaheads: Space channel icons with flexbox.

Karl Stolleye2623f3937c0
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 2bd3ef130d4..995f1be9846 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -1269,6 +1269,15 @@ div.focused-message-list {
.typeahead.dropdown-menu {
a strong.typeahead-strong-section {
white-space: pre;
+ /* Present as flexbox to better control
+ icon alignment and spacing, when icons
+ are shown. */
+ display: flex;
+ align-items: baseline;
+ /* Approximate space as preserved in
+ typeahead lines, e.g., between the channel
+ name and its description. */
+ gap: 0.25ch;
}
.active {