ui: refine peer list name/id display style

This commit is contained in:
Timo
2026-04-22 11:46:36 +02:00
parent 6afae29252
commit 61d8dfc9eb
+1 -1
View File
@@ -132,7 +132,7 @@ function updatePeerList(peers) {
const username = (typeof p === 'object' && p.username) ? escapeHtml(p.username) : '';
const titleText = (typeof p === 'object' && p.tabTitle) ? escapeHtml(p.tabTitle) : '';
const nameLabel = username ? `<span style="font-weight:600; color:white;">${username}</span> <span style="font-size:10px; opacity:0.5;">(${id})</span>` : `<span style="font-weight:600;">👤 ${id}</span>`;
const nameLabel = username ? `<span style="font-weight:600; color:white;">${username}</span> <span style="font-size:10px; opacity:0.6; font-style:italic;">(${id})</span>` : `<span style="font-weight:600;">👤 ${id}</span>`;
const title = titleText ? `<div style="font-size:10px; color:var(--text-muted);">${titleText}</div>` : '';
return `