From b8ba8a1792d8da3cce54a17e4253607ca23baec1 Mon Sep 17 00:00:00 2001 From: DrSmoothl <1787882683@qq.com> Date: Fri, 18 Sep 2026 00:32:27 +0800 Subject: [PATCH] fix(webui): darken the kiosk-mode exit control The corner exit button was too faint against the dashboard. Raise its default contrast while keeping hover at full opacity. --- packages/webui/src/components/layout/main-layout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webui/src/components/layout/main-layout.tsx b/packages/webui/src/components/layout/main-layout.tsx index 8e3425ea..b4aa8cf4 100644 --- a/packages/webui/src/components/layout/main-layout.tsx +++ b/packages/webui/src/components/layout/main-layout.tsx @@ -98,7 +98,7 @@ export function MainLayout({ status, onLogout, notice, children }: MainLayoutPro onClick={exitKiosk} title="退出展示模式 (Esc)" aria-label="退出展示模式" - className="fixed right-3 top-3 z-50 inline-flex size-9 items-center justify-center rounded-full border bg-background/70 text-muted-foreground opacity-30 backdrop-blur transition-opacity outline-none hover:opacity-100 focus-visible:opacity-100 focus-visible:ring-[3px] focus-visible:ring-ring/40" + className="fixed right-3 top-3 z-50 inline-flex size-9 items-center justify-center rounded-full border bg-background/85 text-foreground opacity-70 backdrop-blur transition-opacity outline-none hover:opacity-100 focus-visible:opacity-100 focus-visible:ring-[3px] focus-visible:ring-ring/40" >