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.

compose: Fix overflow in expanded compose box preview mode.

SameepAher37a8bebf7729
diff --git a/static/styles/compose.css b/static/styles/compose.css
index 3e270292358..580edbdce2f 100644
--- a/static/styles/compose.css
+++ b/static/styles/compose.css
@@ -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;
}
}