From 558cba9fcb72238e5d2978b06cbbe31936f8d651 Mon Sep 17 00:00:00 2001 From: mlogclub Date: Thu, 30 Jul 2026 14:32:55 +0800 Subject: [PATCH] fix: update WindowActionButton styling for improved consistency and adjust header layout in SupportChatShell --- web/components/support-chat/chat-shell.tsx | 112 ++++++++++----------- 1 file changed, 54 insertions(+), 58 deletions(-) diff --git a/web/components/support-chat/chat-shell.tsx b/web/components/support-chat/chat-shell.tsx index 5cb8389..58e3287 100644 --- a/web/components/support-chat/chat-shell.tsx +++ b/web/components/support-chat/chat-shell.tsx @@ -53,7 +53,7 @@ import { cn } from "@/lib/utils" import { useI18n } from "@/i18n/provider" const windowActionButtonClass = - "size-7 rounded-md border-0 bg-transparent text-muted-foreground shadow-none hover:bg-foreground/[0.06] hover:text-foreground focus-visible:ring-primary/20 dark:hover:bg-white/10" + "size-8 rounded-full border-0 bg-transparent text-muted-foreground shadow-none hover:bg-foreground/[0.06] hover:text-foreground focus-visible:ring-primary/20 dark:hover:bg-white/10" function WindowActionButton({ className, @@ -70,7 +70,7 @@ function WindowActionButton({ ) } -function getMobileStatusDotClass(status: string) { +function getStatusDotClass(status: string) { if (status === "connected") { return "bg-emerald-500 shadow-[0_0_0_3px_rgba(16,185,129,0.14)]" } @@ -298,26 +298,24 @@ export function SupportChatShell() { style={{ "--primary": themeColor } as CSSProperties} >
-
-
-
-
+
+
+
+
+
-
-
-