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.

message_box: Ensure emoji display correctly on messages with senders.

Karl Stolley1410a0acb384
diff --git a/web/styles/message_row.css b/web/styles/message_row.css
index f1b0bb4dd82..6bb3a7e3b7c 100644
--- a/web/styles/message_row.css
+++ b/web/styles/message_row.css
@@ -339,11 +339,12 @@
.message_content {
/* Pull message content up closer to sender to
let the text baseline sit adjacent the bottom
- of the avatar. */
+ of the avatar. We also need to account for the
+ padding atop .message_content. */
margin-top: calc(
- var(--message-box-markdown-aligned-vertical-space) * 0.5 * -1
+ (var(--message-box-markdown-aligned-vertical-space) * 0.5 * -1) -
+ var(--message-box-markdown-aligned-vertical-space)
);
- padding-top: 0;
grid-area: message;
}