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_box: Maintain top alignment in Preview mode.

Karl Stolleyc5b7432cf222
diff --git a/web/styles/compose.css b/web/styles/compose.css
index 0c26dedae8c..ef12917c15f 100644
--- a/web/styles/compose.css
+++ b/web/styles/compose.css
@@ -1352,6 +1352,9 @@ textarea.new_message_textarea,
.preview_mode {
#preview-message-area-container {
+ /* Maintain same top alignment as the
+ compose textarea. */
+ margin-top: 5px;
/* When in preview mode, we display the
preview container as a columnar flexbox.
This containing element is necessary