Make Markdown images layout vertically instead of horizontally (#21247)
Release Notes: - Fixed a bug in the Markdown preview where images in the same paragraph would be rendered next to each other
This commit is contained in:
@@ -417,6 +417,7 @@ fn render_markdown_paragraph(parsed: &MarkdownParagraph, cx: &mut RenderContext)
|
||||
cx.with_common_p(div())
|
||||
.children(render_markdown_text(parsed, cx))
|
||||
.flex()
|
||||
.flex_col()
|
||||
.into_any_element()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user