1
0
forked from GRIN/grim

Build 77: smaller sidebar avatar so the npub fits one line

Shrink the sidebar identity chip's avatar (36→28px) and handle (12→11px) to
free horizontal space, so the npub/handle stays on a single line.
This commit is contained in:
2ro
2026-06-14 18:46:22 -04:00
parent 8e1b3ce847
commit 0644807f51
+2 -2
View File
@@ -628,13 +628,13 @@ impl GoblinWalletView {
w::card(ui, |ui| {
ui.set_min_width(ui.available_width());
ui.horizontal(|ui| {
w::avatar_any(ui, &handle, &npub_hex, 36.0, hue, tex.as_ref());
w::avatar_any(ui, &handle, &npub_hex, 28.0, hue, tex.as_ref());
ui.add_space(10.0);
ui.vertical(|ui| {
// Smaller so the npub/handle stays on one line.
ui.label(
RichText::new(&handle)
.font(FontId::new(12.0, fonts::semibold()))
.font(FontId::new(11.0, fonts::semibold()))
.color(t.surface_text),
);
ui.label(