message_edit: Use CSS to manage preview scroll.

Fixes #26135.
This commit is contained in:
Karl Stolley 2023-07-17 12:41:30 -05:00 committed by Tim Abbott
parent 8bd3c4ea2b
commit de23949a36
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}