Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message_row: Adjust me-message grid for inline images.
Karl Stolley2954bf51973a
diff --git a/web/styles/message_row.css b/web/styles/message_row.cssindex 9fa98072503..c59c2b7207f 100644--- a/web/styles/message_row.css+++ b/web/styles/message_row.css@@ -311,15 +311,12 @@grid-template-areas:". . . . . ""avatar sender controls . time"- "avatar sender . . . "". more . . . "". reactions . . . "". reminders . . . ";grid-template-rows:- var(--message-box-vertical-margin) var(- --message-box-avatar-height- )- minmax(0, auto) repeat(4, auto);+ var(--message-box-vertical-margin)+ minmax(var(--message-box-avatar-height), auto) repeat(3, auto);/* We align items to the baseline on me messages,and unset the align-content property. */align-items: baseline;@@ -347,6 +344,11 @@available grid row height on me-messages, wealign to center here. */align-self: center;+ /* But, we need to adjust the bottom margin by the+ message box's vertical margin so that the controls+ appear properly aligned with both the time stamp+ and any me-message content--including inline images. */+ margin-bottom: var(--message-box-vertical-margin);}.message_edit_notice {