diff --git a/webui/src/components/thread/ThreadHeader.tsx b/webui/src/components/thread/ThreadHeader.tsx index ba1cf4dab..18f13f565 100644 --- a/webui/src/components/thread/ThreadHeader.tsx +++ b/webui/src/components/thread/ThreadHeader.tsx @@ -13,6 +13,12 @@ import { import { cn } from "@/lib/utils"; import type { SessionHandle } from "@/lib/types"; +const controlsClassName = cn( + "pointer-events-auto flex items-center gap-0.5 rounded-compact bg-background p-px empty:hidden", + "[&_button]:h-7 [&_button]:w-7 [&_button>svg]:h-3.5 [&_button>svg]:w-3.5", + "forced-colors:bg-[Canvas] forced-colors:outline forced-colors:outline-1 forced-colors:outline-[ButtonText]", +); + interface ThreadHeaderProps { title: string; handle?: SessionHandle | null; @@ -56,11 +62,18 @@ export function ThreadHeader({
-
+
{!hideSidebarToggle ? (