diff --git a/apps/web/src/components/ChatView.tsx b/apps/web/src/components/ChatView.tsx index 1b9c106fe52390de507f5ba33b67cee9ba2801cf..6cd83054b8e6344c2511b2036c01b03fcd0483c9 100644 --- a/apps/web/src/components/ChatView.tsx +++ b/apps/web/src/components/ChatView.tsx @@ -1888,6 +1888,7 @@ function ChatViewContent(props: ChatViewProps) { ); const rightPanelPresent = rightPanelPresence.present; const rightPanelControlsInPanel = shouldUseRightPanelSheet && rightPanelPresent && rightPanelOpen; + const rightPanelControlsAtRoot = rightPanelPresent && !shouldUseRightPanelSheet; const renderedRightPanelSurface = rightPanelPresence.value?.activeSurface ?? null; const renderedRightPanelSurfaces = rightPanelPresence.value?.surfaces ?? []; const previewMiniPlayerVisible = shouldRenderPreviewMiniPlayer( @@ -7679,7 +7680,7 @@ function ChatViewContent(props: ChatViewProps) { return (