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:
parent
cff9ae0bbc
commit
0c8e5550e7
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue