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.

compose_box: Better align and maintain alignment of topic marker.

Karl Stolley6f8cac807734
diff --git a/web/styles/compose.css b/web/styles/compose.css
index f333a16c5b7..0c26dedae8c 100644
--- a/web/styles/compose.css
+++ b/web/styles/compose.css
@@ -168,6 +168,11 @@
in, e.g., a group DM. */
display: flex;
align-items: center;
+ /* Ensure horizontal centering, too. */
+ justify-content: center;
+ /* Disallow shrinking or growth, which can cause
+ little layout shifts with pills. */
+ flex: 0 0 auto;
height: var(--compose-recipient-box-min-height);
/* Round up natural width to next whole pixel. */
width: 23px;