message_box: Ensure emoji display correctly on messages with senders.

This commit is contained in:
Karl Stolley 2024-07-05 09:10:05 -05:00 committed by Tim Abbott
parent 2b33a5af83
commit 1410a0acb3
1 changed files with 4 additions and 3 deletions

View File

@ -339,11 +339,12 @@
.message_content { .message_content {
/* Pull message content up closer to sender to /* Pull message content up closer to sender to
let the text baseline sit adjacent the bottom 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( 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; grid-area: message;
} }