summaryrefslogtreecommitdiffstats
path: root/widget/src/markdown.rs
diff options
context:
space:
mode:
Diffstat (limited to 'widget/src/markdown.rs')
-rw-r--r--widget/src/markdown.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/widget/src/markdown.rs b/widget/src/markdown.rs
index cb3e9cfc..c5eeaea9 100644
--- a/widget/src/markdown.rs
+++ b/widget/src/markdown.rs
@@ -262,7 +262,8 @@ pub fn parse<'a>(
.font(Font::MONOSPACE)
.color(Color::WHITE)
.background(color!(0x111111))
- .border(border::rounded(2));
+ .border(border::rounded(2))
+ .padding(padding::left(2).right(2));
let span = if let Some(link) = link.as_ref() {
span.color(palette.primary).link(link.clone())