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.

css: Simplify preview_message_area CSS.

Tim Abbott8efa8e378d2a
diff --git a/static/styles/compose.css b/static/styles/compose.css
index 28598a0bda4..30fa8d81bc3 100644
--- a/static/styles/compose.css
+++ b/static/styles/compose.css
@@ -458,10 +458,11 @@ a.compose_control_button.hide {
/* minus 5px padding. */
width: calc(100% - 12px);
padding: 5px;
+ margin-top: 5px;
/* the maximum height the textarea gets to. */
max-height: 308px;
/* the minimum height the textarea collapses to. */
- min-height: 36px;
+ min-height: 42px;
overflow: auto;
border: 1px solid hsl(0, 0%, 67%);
@@ -470,11 +471,6 @@ a.compose_control_button.hide {
cursor: not-allowed;
}
-#preview_message_area {
- margin-top: 5px;
- min-height: 42px;
-}
-
.markdown_preview_spinner {
margin: auto;
}