From 02a6468807c6f4f34f56b2bafb091c1b6ff25f0e Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 9 Oct 2026 00:17:17 -0700 Subject: Profile public key: solid border instead of dashed, a copy icon beside the key, and a slightly larger font (13px) Co-Authored-By: Claude Opus 5.5 --- src/features/messages.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/features/messages.js') diff --git a/src/features/messages.js b/src/features/messages.js index 48596f2..540f942 100644 --- a/src/features/messages.js +++ b/src/features/messages.js @@ -9744,9 +9744,9 @@ export function messagesFeature(ctx) { : h('div', { class: 'npub-qr', style: 'align-self:center', html: qrSvg(npub) }), ui.profEdit || ui.npubShown !== pk ? null : h('button', { type: 'button', class: 'addr-box break npub-box', title: t('copy'), - style: 'font-size:11px;cursor:pointer;text-align:left;width:100%', onClick: async () => { try { await navigator.clipboard.writeText(npub); toast(t('copied')); } catch {} }, - }, npub), + }, h('span', { class: 'npub-text' }, npub), + h('span', { class: 'npub-copy', 'aria-hidden': 'true', html: '' })), ui.profEdit ? h('div', { class: 'col', style: 'gap:8px' }, // the username IS the payment address and NIP-05 — the frozen -- cgit v1.2.3