Let markdown::view be Shrink when no code blocks exist

This commit is contained in:
Héctor Ramón Jiménez 2025-01-30 01:47:10 +01:00
parent d49d4dc3fa
commit aa0f0e73aa
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -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.