Skip to content

Commit aa0f0e7

Browse files
committed
Let markdown::view be Shrink when no code blocks exist
1 parent d49d4dc commit aa0f0e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

widget/src/markdown.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ where
735735
.into(),
736736
});
737737

738-
Element::new(column(blocks).width(Length::Fill).spacing(text_size))
738+
Element::new(column(blocks).spacing(spacing))
739739
}
740740

741741
/// The theme catalog of Markdown items.

0 commit comments

Comments
 (0)