mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-20 09:54:19 +01:00
ui/note: fix reply description item spacing
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user