From 73ff0650263efa957341b89f3969a0d0aeaccc88 Mon Sep 17 00:00:00 2001 From: jevb Date: Fri, 27 Mar 2026 10:13:31 +0100 Subject: [PATCH] fix: move status dot out of icon div to fix letter centering --- Client/tauri-client/src/pages/connect-page/ServerPanel.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Client/tauri-client/src/pages/connect-page/ServerPanel.ts b/Client/tauri-client/src/pages/connect-page/ServerPanel.ts index 2abb0d4c..6213c6df 100644 --- a/Client/tauri-client/src/pages/connect-page/ServerPanel.ts +++ b/Client/tauri-client/src/pages/connect-page/ServerPanel.ts @@ -120,9 +120,8 @@ export function createServerPanel( }); setText(icon, getIconInitials(profile.name)); - // Health status dot on the icon + // Health status dot — placed as sibling after info, not inside icon const statusDot = createElement("div", { class: "srv-status-dot unknown" }); - icon.appendChild(statusDot); const info = createElement("div", { class: "srv-info" }); const name = createElement("div", { class: "srv-name" }, profile.name); @@ -163,7 +162,7 @@ export function createServerPanel( actions.appendChild(deleteBtn); } - appendChildren(item, icon, info, actions); + appendChildren(item, icon, info, statusDot, actions); item.addEventListener( "click",