mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-30 14:34:23 +01:00
ircmode: tighten username
will probably have to change the design of this for mobile Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -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),
|
||||
)
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user