ui/note: fix extra padding in block renderer

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2025-08-03 16:26:26 -07:00
parent edf0e2498b
commit 2edc19fbcc

View File

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