From 169d32a29223196661e1fc7af488d28399150613 Mon Sep 17 00:00:00 2001 From: Moepchi Date: Thu, 12 Nov 2026 21:01:16 +0000 Subject: [PATCH] Client tree: own icons for TeamSpeak's built-in group icons Built-in group icons (Server Admin, Channel Admin, ...) were plain coloured letter circles. Now a small person with the group's initial in a coloured badge, in the style of the mute icons. Own artwork, not a copy of the native client's icons. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU --- web/src/App.css | 13 +++---------- web/src/App.tsx | 12 +++++++++--- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/web/src/App.css b/web/src/App.css index 4af9d7b..cdba1f9 100644 --- a/web/src/App.css +++ b/web/src/App.css @@ -2364,17 +2364,10 @@ } .ts-group-badge { - display: inline-flex; - align-items: center; - justify-content: center; - width: 14px; - height: 14px; - border-radius: 50%; + display: block; + width: 15px; + height: 15px; flex-shrink: 0; - font-size: 9px; - font-weight: 700; - line-height: 1; - color: #fff; } .ts-poke-button { diff --git a/web/src/App.tsx b/web/src/App.tsx index 69291da..41d0b3f 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -1443,9 +1443,15 @@ function GroupIcon({ group, images }: { group: GroupEntry; images: Record= CUSTOM_ICON_ID_THRESHOLD ? images[`/icon_${group.iconId}`] : undefined; if (base64) return ; return ( - - {group.name.trim().charAt(0).toUpperCase() || "?"} - + + {group.name} + + + + + {group.name.trim().charAt(0).toUpperCase() || "?"} + + ); }