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 bug in preview where image at the end would be misaligned.

N-Shar-ma74cdd6148e8d
diff --git a/web/styles/rendered_markdown.css b/web/styles/rendered_markdown.css
index da34243dbd8..fccd6f46b6c 100644
--- a/web/styles/rendered_markdown.css
+++ b/web/styles/rendered_markdown.css
@@ -884,7 +884,7 @@
margin-top: 0;
}
- & > :last-child {
+ & > :last-child:not(.message_inline_image) {
margin-bottom: 0;
}
}