From c2776c233691ad1b6b9b891a500d9eac6c6586a2 Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Thu, 25 Jun 2026 10:07:33 -0700 Subject: [PATCH] Restore right panel inset when maximized (#3555) --- apps/web/src/components/RightPanelTabs.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/web/src/components/RightPanelTabs.tsx b/apps/web/src/components/RightPanelTabs.tsx index ead306f7c90611435e7711679d9592391f1c754d..cf0263f81bd2db9d8f0480c63b36b59b46d7f334 100644 --- a/apps/web/src/components/RightPanelTabs.tsx +++ b/apps/web/src/components/RightPanelTabs.tsx @@ -20,6 +20,7 @@ import { Menu, MenuItem, MenuPopup, MenuTrigger } from "~/components/ui/menu"; import { ScrollArea } from "~/components/ui/scroll-area"; import { faviconUrlForOrigin } from "~/lib/favicon"; import { useTheme } from "~/hooks/useTheme"; +import { COLLAPSED_SIDEBAR_TITLEBAR_INSET_CLASS } from "~/workspaceTitlebar"; import { PreviewPanelShell, type PreviewPanelMode } from "./preview/PreviewPanelShell"; import { PierreEntryIcon } from "./chat/PierreEntryIcon"; @@ -346,6 +347,7 @@ export function RightPanelTabs(props: RightPanelTabsProps) { "workspace-topbar gap-1 pl-2", props.mode === "inline" ? "pr-28" : "pr-3", ownsDesktopTitleBar && "wco:pr-[calc(var(--workspace-native-controls-inset)+6rem)]", + props.mode === "inline" && props.maximized && COLLAPSED_SIDEBAR_TITLEBAR_INSET_CLASS, )} data-right-panel-tabbar > -- 2.54.0