The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 24, 21:30 UTC
Restore right panel inset when maximized (#3555)
Julius Marminge committed
Jun 25, 2026 at 10:07 UTC
c2776c233691ad1b6b9b891a500d9eac6c6586a2
1 file changed
+2
apps/web/src/components/RightPanelTabs.tsx
+2
@@ -20,6 +20,7 @@ import { Menu, MenuItem, MenuPopup, MenuTrigger } from "~/components/ui/menu";
20
import { ScrollArea } from "~/components/ui/scroll-area";
21
import { faviconUrlForOrigin } from "~/lib/favicon";
22
import { useTheme } from "~/hooks/useTheme";
23
+import { COLLAPSED_SIDEBAR_TITLEBAR_INSET_CLASS } from "~/workspaceTitlebar";
24
25
import { PreviewPanelShell, type PreviewPanelMode } from "./preview/PreviewPanelShell";
26
import { PierreEntryIcon } from "./chat/PierreEntryIcon";
@@ -346,6 +347,7 @@ export function RightPanelTabs(props: RightPanelTabsProps) {
347
"workspace-topbar gap-1 pl-2",
348
props.mode === "inline" ? "pr-28" : "pr-3",
349
ownsDesktopTitleBar && "wco:pr-[calc(var(--workspace-native-controls-inset)+6rem)]",
350
+ props.mode === "inline" && props.maximized && COLLAPSED_SIDEBAR_TITLEBAR_INSET_CLASS,
351
)}
352
data-right-panel-tabbar
353
>