Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message_row: Only set bottom margin on avatar for me-messages.
Karl Stolley51d25bad0955
diff --git a/web/styles/message_row.css b/web/styles/message_row.cssindex b74c2ea309b..f1b0bb4dd82 100644--- a/web/styles/message_row.css+++ b/web/styles/message_row.css@@ -280,6 +280,10 @@to center me-messages within the baseline group. */line-height: var(--message-box-avatar-height);align-self: baseline;+ /* Because the avatar may be the tallest element in a+ single-line me message, this margin preserves the+ overall height of the message box. */+ margin-bottom: var(--message-box-vertical-margin);}.message_sender {@@ -325,10 +329,7 @@grid-area: avatar;/* The picture should not participate in the baseline group. */align-self: start;- /* Because the avatar may be the tallest element in a- single-line me message, this margin preserves the- overall height of the message box. */- margin: var(--message-box-vertical-margin) 0;+ margin-top: var(--message-box-vertical-margin);}.status-message {