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_edit: Use CSS to manage preview scroll.

Karl Stolleyde23949a3609
diff --git a/web/styles/message_row.css b/web/styles/message_row.css
index d579fad9a69..233cc894489 100644
--- a/web/styles/message_row.css
+++ b/web/styles/message_row.css
@@ -208,6 +208,9 @@ $time_column_min_width: 50px; /* + padding */
is preserved from the message itself--keeping the time,
edit message, and controls at the same vertical alignment. */
align-self: start;
+ /* Keep previewed messages from overflowing the grid area
+ that .message_edit is assigned to. */
+ overflow: hidden;
margin-top: $distance_of_non_text_elements_from_message_box;
}