commit 27df33dc83acb82ef3621f040b2aa6b2a1e06e53
parent 2edc19fbcc96e5fb10cb0763f6658704e05ae02e
Author: William Casarin <jb55@jb55.com>
Date: Sun, 3 Aug 2025 16:30:37 -0700
ui/note: fix reply description item spacing
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/crates/notedeck_ui/src/note/mod.rs b/crates/notedeck_ui/src/note/mod.rs
@@ -464,6 +464,8 @@ impl<'a, 'd> NoteView<'a, 'd> {
}
ui.horizontal_wrapped(|ui| {
+ ui.spacing_mut().item_spacing.x = 0.0;
+
note_action = reply_desc(
ui,
txn,
@@ -536,7 +538,7 @@ impl<'a, 'd> NoteView<'a, 'd> {
NoteView::note_header(ui, self.note_context.i18n, self.note, profile, self.flags);
ui.horizontal_wrapped(|ui| 's: {
- ui.spacing_mut().item_spacing.x = if is_narrow(ui.ctx()) { 1.0 } else { 2.0 };
+ ui.spacing_mut().item_spacing.x = 1.0;
let note_reply = self
.note_context