From 511c6026ace4e5126ea6e0e072b0a5692898b5fd Mon Sep 17 00:00:00 2001 From: Daniel Redetzke Date: Mon, 5 Oct 2026 01:57:00 +0300 Subject: [PATCH] Show peer names in plain ink instead of underlined links --- app.css | 2 ++ app.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app.css b/app.css index 9c28c48..77b0018 100644 --- a/app.css +++ b/app.css @@ -144,6 +144,8 @@ td { padding: 12px; border-bottom: 1px solid var(--line-2); vertical-align: midd tr:last-child td { border-bottom: 0; } .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; } td .note { font-size: 12px; color: var(--ink-3); } +a.pname { color: var(--ink); font-weight: 600; text-decoration: none; } +a.pname:hover, a.pname:focus-visible { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; } .empty { padding: 24px 12px; margin: 0; text-align: center; color: var(--ink-3); } /* forms */ diff --git a/app.js b/app.js index 1ed3966..8b79c25 100644 --- a/app.js +++ b/app.js @@ -1124,7 +1124,7 @@ return hit && keep; }); tbody.replaceChildren(...sorted(rows).map((p) => h('tr', null, - h('td', null, h('a', { href: '#/peers/' + p.id }, h('strong', null, p.name)), p.note ? h('div', { class: 'note' }, p.note) : null), + h('td', null, h('a', { class: 'pname', href: '#/peers/' + p.id }, p.name), p.note ? h('div', { class: 'note' }, p.note) : null), h('td', { class: 'mono' }, p.ipv4), h('td', null, badge(peerState(p))), h('td', { class: 'mono muted' }, p.stats.endpoint || '–',