From 2edc19fbcc96e5fb10cb0763f6658704e05ae02e Mon Sep 17 00:00:00 2001 From: William Casarin Date: Sun, 3 Aug 2025 16:26:26 -0700 Subject: [PATCH] ui/note: fix extra padding in block renderer Signed-off-by: William Casarin --- crates/notedeck_ui/src/note/contents.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/notedeck_ui/src/note/contents.rs b/crates/notedeck_ui/src/note/contents.rs index c72fa65..5d5bb9c 100644 --- a/crates/notedeck_ui/src/note/contents.rs +++ b/crates/notedeck_ui/src/note/contents.rs @@ -192,6 +192,8 @@ fn render_undecorated_note_contents<'a>( let mut supported_medias: Vec = vec![]; let response = ui.horizontal_wrapped(|ui| { + ui.spacing_mut().item_spacing.x = 0.0; + let blocks = if let Ok(blocks) = note_context.ndb.get_blocks_by_key(txn, note_key) { blocks } else {