compose: Fix overflow in expanded compose box preview mode.

Fixed a bug in expanded compose box preview mode,
which lead to buttons at the bottom of the compose box
being pushed off the screen and text overflowing.

Manually tested for different screen sizes.

Fixes: #23493.
This commit is contained in:
SameepAher 2022-12-07 16:49:31 +05:30 committed by Tim Abbott
parent 19f2795e41
commit 37a8bebf77
1 changed files with 4 additions and 0 deletions

View File

@ -832,7 +832,11 @@ a.compose_control_button.hide {
#compose-textarea,
#preview_message_area {
/* Setting height to 0 is necessary to make the flex+Simplebar
combination work correctly, without pushing the compose
controls offscreen when previewing a very tall message. */
max-height: none !important;
height: 0;
flex: 1;
}
}