Skip to content
TypeScript

fix(web): thread details toggle no longer covers the thread title on Windows desktop (#16869)

freddy-d8f43ceda4034
diff --git a/apps/web/src/components/ChatView.tsx b/apps/web/src/components/ChatView.tsx
index bf4fa0ae716..20c4d08b5bc 100644
--- a/apps/web/src/components/ChatView.tsx
+++ b/apps/web/src/components/ChatView.tsx
@@ -11250,7 +11250,9 @@ export default function ChatView(props: ChatViewProps) {
);
const threadPanelHeaderControl = (
<div
- className="absolute top-[var(--workspace-controls-top)] right-[var(--workspace-controls-right)] z-50 flex h-[var(--workspace-topbar-height)] items-center [-webkit-app-region:no-drag]"
+ // Inset from the chat header's edge, not the window's: --workspace-controls-right also
+ // clears the native window buttons, which sit over the right panel, not this header.
+ className="absolute top-[var(--workspace-controls-top)] right-[calc(env(safe-area-inset-right)+0.75rem)] z-50 flex h-[var(--workspace-topbar-height)] items-center [-webkit-app-region:no-drag]"
data-workspace-titlebar-controls
>
<PanelLayoutControls