commit 2edc19fbcc96e5fb10cb0763f6658704e05ae02e
parent edf0e2498b507c0a519ddb773247425e647e9407
Author: William Casarin <jb55@jb55.com>
Date: Sun, 3 Aug 2025 16:26:26 -0700
ui/note: fix extra padding in block renderer
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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<RenderableMedia> = 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 {