authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-06-25 10:07:33-07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-06-25 17:07:33+00:00
logc2776c233691ad1b6b9b891a500d9eac6c6586a2
tree06ce692110f3b770ad4308533d8f7f77565dbe3e
parent22f021ed697f4021462fcbc65fad31e4c5c77ce0
signature Signed by PGP key B5690EEEBB952194

Restore right panel inset when maximized (#3555)


1 files changed, 2 insertions(+), 0 deletions(-)

apps/web/src/components/RightPanelTabs.tsx+2
......@@ -20,6 +20,7 @@ import { Menu, MenuItem, MenuPopup, MenuTrigger } from "~/components/ui/menu";
2020import { ScrollArea } from "~/components/ui/scroll-area";
2121import { faviconUrlForOrigin } from "~/lib/favicon";
2222import { useTheme } from "~/hooks/useTheme";
23import { COLLAPSED_SIDEBAR_TITLEBAR_INSET_CLASS } from "~/workspaceTitlebar";
2324
2425import { PreviewPanelShell, type PreviewPanelMode } from "./preview/PreviewPanelShell";
2526import { PierreEntryIcon } from "./chat/PierreEntryIcon";
......@@ -346,6 +347,7 @@ export function RightPanelTabs(props: RightPanelTabsProps) {
346347 "workspace-topbar gap-1 pl-2",
347348 props.mode === "inline" ? "pr-28" : "pr-3",
348349 ownsDesktopTitleBar && "wco:pr-[calc(var(--workspace-native-controls-inset)+6rem)]",
350 props.mode === "inline" && props.maximized && COLLAPSED_SIDEBAR_TITLEBAR_INSET_CLASS,
349351 )}
350352 data-right-panel-tabbar
351353 >