compose_box: Set auto height on textarea in full screen.

This commit is contained in:
Karl Stolley 2023-11-15 15:06:34 -06:00 committed by Tim Abbott
parent 681097fd43
commit dd938911f7
1 changed files with 9 additions and 2 deletions

View File

@ -1335,11 +1335,18 @@ textarea.new_message_textarea,
#compose-textarea,
#preview_message_area {
/* When in full screen, override max-height
properties set on the textarea itself,
e.g., from manually resizing the textarea. */
properties set from manually resizing. */
max-height: none !important;
}
#compose-textarea {
/* Additionally, override the height properties
on the textarea. This is essential if the
textarea has been manually resized prior
to going into fullscreen. */
height: auto !important;
}
#preview_message_area {
/* Setting height to 0 is necessary to make the flex+Simplebar
combination work correctly, without pushing the compose