@devries-cameron20 / t3code-1 / commits / a7b0366cbe
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix(web): account for Windows window controls in PR page header (#6049)

Utkarsh Patil committed Aug 11, 2026 at 01:40 UTC a7b0366cbe1e9eabc9e37eb079a38f6b6691f999
1 file changed +9
apps/web/src/routes/_chat.pull-requests.tsx
+9
@@ -1070,6 +1070,7 @@ function PullRequestsRouteView() {
1070 filtersMenu,
1071 rightPanelControl:
1072 !pullRequestsSupported || rightPanelState.isOpen ? null : panelToggleControls,
1073 + rightPanelOpen: rightPanelState.isOpen,
1074 listBody,
1075 };
1076
@@ -1319,6 +1320,7 @@ function PullRequestsColumn({
1320 searchInput,
1321 filtersMenu,
1322 rightPanelControl,
1323 + rightPanelOpen,
1324 listBody,
1325 }: {
1326 refreshing: boolean;
@@ -1334,6 +1336,7 @@ function PullRequestsColumn({
1336 searchInput: ReactNode;
1337 filtersMenu: ReactNode;
1338 rightPanelControl: ReactNode;
1339 + rightPanelOpen: boolean;
1340 listBody: ReactNode;
1341 }) {
1342 const scrollRef = useRef<HTMLDivElement | null>(null);
@@ -1398,6 +1401,12 @@ function PullRequestsColumn({
1401 <header
1402 className={cn(
1403 "workspace-topbar drag-region gap-1.5 px-3 sm:px-5",
1404 + // A closed right panel leaves this column full-width, so its header runs
1405 + // underneath the native window controls on Windows; reserve the inset the
1406 + // way Settings and the chat view do. While the panel is open the column
1407 + // ends at the panel's left edge and the absolute controls strip (already
1408 + // WCO-aware) owns the top-right corner.
1409 + !rightPanelOpen && "wco:pr-[var(--workspace-native-controls-inset)]",
1410 COLLAPSED_SIDEBAR_TITLEBAR_INSET_CLASS,
1411 )}
1412 >