mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-18 17:14:21 +01:00
ui/note: fix extra padding in block renderer
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user