Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
compose: Ensure textarea is hidden in compose preview.
Karl Stolley165c47cb14a9
diff --git a/web/styles/compose.css b/web/styles/compose.cssindex 5853385b304..b15876984d8 100644--- a/web/styles/compose.css+++ b/web/styles/compose.css@@ -2027,14 +2027,19 @@ textarea.new_message_textarea {}}+ .message-textarea,.message-edit-textbox {/* In preview mode, we hide the message edittextbox to prevent it from appearing behindthe preview container. We cannot set itsdisplay to none or visibility to hidden, asthat would prevent us from modifying the- textarea's value. */- height: 0;- overflow: hidden;+ textarea's value.++ The !important use here in necessary to be sure+ we override the inline styles set on the+ compose textarea. */+ height: 0 !important;+ overflow: hidden !important;}}