Skip to content

Commit

Permalink
Let markdown::view be Shrink when no code blocks exist
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Jan 30, 2025
1 parent d49d4dc commit aa0f0e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion widget/src/markdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ where
.into(),
});

Element::new(column(blocks).width(Length::Fill).spacing(text_size))
Element::new(column(blocks).spacing(spacing))
}

/// The theme catalog of Markdown items.
Expand Down

0 comments on commit aa0f0e7

Please sign in to comment.