Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
compose: Remove vertical shifts in compose when toggling preview mode.
atharmohammade55f5a1b5903
diff --git a/web/styles/rendered_markdown.css b/web/styles/rendered_markdown.cssindex 280684cc08f..b70ba2a6764 100644--- a/web/styles/rendered_markdown.css+++ b/web/styles/rendered_markdown.css@@ -656,6 +656,18 @@}}+.preview_content.rendered_markdown {+ /* Ensure that the first child and last child+ don't have blank area at the top and bottom respectively. */+ & :first-child {+ margin-top: 0;+ }++ & :last-child {+ margin-bottom: 0;+ }+}+.codehilite {display: block !important;border: none !important;