Fix display of links in lists (markdown_preview) (#8073)

![markdown_preview](https://github.com/zed-industries/zed/assets/67913738/d8e4800f-d549-42e7-90b4-001d98aa39d2)

Release Notes:

- Fixed display of long links in lists not fully visible in markdown
preview.
This commit is contained in:
Robin Pfäffle
2024-02-20 11:30:40 -07:00
committed by GitHub
parent d51a0b60be
commit 78dcd72790
@@ -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);
}