diff --git a/src/index.html b/src/index.html index ddaf0c6..5460d6a 100644 --- a/src/index.html +++ b/src/index.html @@ -1868,10 +1868,10 @@ /* Nostr user widget — fixed top-right */ /* Docked into the top-right corner, flush and sharp like the toolbars. */ - .nostrWidget{position:fixed;top:0;right:0;z-index:500;display:flex;align-items:center;gap:6px;background:var(--panel);border-left:1px solid var(--line);border-bottom:1px solid var(--line);padding:8px 16px 8px 14px} - .nostrWidget .pill{box-shadow:none} - .nostrProfileBtn{display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:0;padding:5px 10px;background:#fff;cursor:pointer;font-size:.82rem;font-weight:600;color:var(--ink);max-width:200px} - .nostrAvatar{width:28px;height:28px;border-radius:50%;object-fit:cover;border:1px solid var(--line);background:#f1f5f9;flex:0 0 auto} + .nostrWidget{position:fixed;top:0;right:0;z-index:500;display:flex;align-items:center;gap:6px;background:var(--panel);border-left:1px solid var(--line);border-bottom:1px solid var(--line);padding:3px 14px 3px 12px} + .nostrWidget .pill{box-shadow:none;padding:4px 10px;font-size:.78rem;line-height:1.2;min-height:26px} + .nostrProfileBtn{display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:0;padding:2px 9px;background:#fff;cursor:pointer;font-size:.78rem;line-height:1.2;font-weight:600;color:var(--ink);max-width:200px;min-height:26px} + .nostrAvatar{width:22px;height:22px;border-radius:50%;object-fit:cover;border:1px solid var(--line);background:#f1f5f9;flex:0 0 auto} .nostrNameEl{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:120px} body.dark .nostrProfileBtn{background:transparent;border:none;padding:0}