commit 116ba27f3f5445c152d9a24425b5bda9be1f0908
parent d0efb2ef55323a09c6a5d30a315aab3a6b27578d
Author: William Casarin <jb55@jb55.com>
Date: Thu, 11 Apr 2024 13:36:29 -0700
ircmode: tighten username
will probably have to change the design of this for mobile
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/app.rs b/src/app.rs
@@ -637,13 +637,13 @@ fn render_irc_note(
ui.set_clip_rect(rect);
render_reltime(ui, note_cache, false).response
});
- let (_id, rect) = ui.allocate_space(egui::vec2(200.0, 20.0));
+ let (_id, rect) = ui.allocate_space(egui::vec2(150.0, 20.0));
ui.allocate_rect(rect, Sense::hover());
ui.put(rect, |ui: &mut egui::Ui| {
ui.set_clip_rect(rect);
ui.add(
Username::new(profile.as_ref().ok(), note.pubkey())
- .abbreviated(15)
+ .abbreviated(8)
.pk_colored(true),
)
});