Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- App title toggles in Settings > Appearance now persist across a reload.

- Connections map tooltips now use the system font on Android, Windows and
Linux instead of falling back to a serif.

## [1.6.1] - 2026-08-14

### Fixed
Expand Down
6 changes: 3 additions & 3 deletions ui/widgets/connections/connections-map.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,9 @@
/* info.users comes straight from the upstream response. html`` escapes
every interpolation. */
const body=info.cc!=null
? html`<div style="display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px"><span style="font:700 14px/1.15 -apple-system;letter-spacing:-.01em">${fmtName(info.cc)}</span><span style="font:600 10px -apple-system;color:#30D158;display:inline-flex;align-items:center;gap:4px"><span style="width:6px;height:6px;border-radius:50%;background:#30D158"></span>${wt('ui.online','Online')}</span></div><div style="display:flex;justify-content:space-between;gap:16px;font:500 12px/1.2 -apple-system;color:rgba(235,235,245,.62)"><span>${wt('ui.users','Users')}</span><span style="color:#fff;font-weight:600;font-variant-numeric:tabular-nums">${info.users}</span></div>`
: html`<div style="font:600 14px/1.15 -apple-system;letter-spacing:-.01em">${(info.city?info.city+', ':'')+info.country}</div>`;
setHtml(tt, html`<div style="font:700 11px/1.2 -apple-system;display:flex;align-items:center;gap:6px;margin-bottom:5px;color:rgba(235,235,245,.82)"><span data-dot></span>${info.serviceName||''}</div>${body}`);
? html`<div style="display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px"><span style="font-weight:700;font-size:14px;line-height:1.15;letter-spacing:-.01em">${fmtName(info.cc)}</span><span style="font-weight:600;font-size:10px;color:#30D158;display:inline-flex;align-items:center;gap:4px"><span style="width:6px;height:6px;border-radius:50%;background:#30D158"></span>${wt('ui.online','Online')}</span></div><div style="display:flex;justify-content:space-between;gap:16px;font-weight:500;font-size:12px;line-height:1.2;color:rgba(235,235,245,.62)"><span>${wt('ui.users','Users')}</span><span style="color:#fff;font-weight:600;font-variant-numeric:tabular-nums">${info.users}</span></div>`
: html`<div style="font-weight:600;font-size:14px;line-height:1.15;letter-spacing:-.01em">${(info.city?info.city+', ':'')+info.country}</div>`;
setHtml(tt, html`<div style="font-weight:700;font-size:11px;line-height:1.2;display:flex;align-items:center;gap:6px;margin-bottom:5px;color:rgba(235,235,245,.82)"><span data-dot></span>${info.serviceName||''}</div>${body}`);
/* Colour is set after the markup, through named CSSOM properties. */
const tdot=tt.querySelector('[data-dot]');
if(tdot){
Expand Down
Loading