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.

rendered_markdown: Correct alignment on textless images.

Karl Stolley9d1908d746a5
diff --git a/web/styles/rendered_markdown.css b/web/styles/rendered_markdown.css
index 46cd6de786a..3515b427b86 100644
--- a/web/styles/rendered_markdown.css
+++ b/web/styles/rendered_markdown.css
@@ -569,7 +569,7 @@
markdown is a horizontal rule, a media element,
or KaTeX. */
&:has(> hr:first-child),
- &:has(> .message_inline_image:first-child),
+ &:has(> .message-thumbnail-gallery:first-child),
&:has(> p:first-child > audio),
&:has(> p:first-child > .katex-display) {
align-self: center;