Fix display of links in lists (markdown_preview) (#8073)
 Release Notes: - Fixed display of long links in lists not fully visible in markdown preview.
This commit is contained in:
@@ -154,7 +154,7 @@ fn render_markdown_list(parsed: &ParsedMarkdownList, cx: &mut RenderContext) ->
|
||||
let item = h_flex()
|
||||
.pl(DefiniteLength::Absolute(AbsoluteLength::Rems(padding)))
|
||||
.items_start()
|
||||
.children(vec![bullet, div().children(contents).pr_2().w_full()]);
|
||||
.children(vec![bullet, div().children(contents).pr_4().w_full()]);
|
||||
|
||||
items.push(item);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user