@devries-cameron20 / t3code Mirror · read-only / commits / 6d1505c9fb
Fork 0

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 25, 06:15 UTC

fix: Change right panel sheet to be below title bar / action bar (#2224)

Co-authored-by: Julius Marminge <julius0216@outlook.com>

Craig committed Apr 20, 2026 at 16:25 UTC 6d1505c9fb6ef9a7e147133bb9827f2f36e6945c
2 files changed +4 -3
apps/web/src/components/DiffPanelShell.tsx
+2 -2
@@ -10,9 +10,9 @@ export type DiffPanelMode = "inline" | "sheet" | "sidebar";
10 function getDiffPanelHeaderRowClassName(mode: DiffPanelMode) {
11 const shouldUseDragRegion = isElectron && mode !== "sheet";
12 return cn(
13 - "flex items-center justify-between gap-2 px-4 wco:pr-[calc(100vw-env(titlebar-area-width)-env(titlebar-area-x)+1em)]",
13 + "flex items-center justify-between gap-2 px-4",
14 shouldUseDragRegion
15 - ? "drag-region h-[52px] border-b border-border wco:h-[env(titlebar-area-height)]"
15 + ? "drag-region h-[52px] border-b border-border wco:h-[env(titlebar-area-height)] wco:pr-[calc(100vw-env(titlebar-area-width)-env(titlebar-area-x)+1em)]"
16 : "h-12 wco:max-h-[env(titlebar-area-height)]",
17 );
18 }
apps/web/src/rightPanelLayout.ts
+2 -1
@@ -1,2 +1,3 @@
1 export const RIGHT_PANEL_INLINE_LAYOUT_MEDIA_QUERY = "(max-width: 1180px)";
2 -export const RIGHT_PANEL_SHEET_CLASS_NAME = "w-[min(88vw,820px)] max-w-[820px] p-0";
2 +export const RIGHT_PANEL_SHEET_CLASS_NAME =
3 + "w-[min(88vw,820px)] max-w-[820px] p-0 wco:mt-[env(titlebar-area-height)] wco:h-[calc(100%-env(titlebar-area-height))] wco:max-h-[calc(100%-env(titlebar-area-height))]";