| ... | ... | @@ -1070,6 +1070,7 @@ function PullRequestsRouteView() { |
| 1070 | 1070 | filtersMenu, |
| 1071 | 1071 | rightPanelControl: |
| 1072 | 1072 | !pullRequestsSupported || rightPanelState.isOpen ? null : panelToggleControls, |
| 1073 | rightPanelOpen: rightPanelState.isOpen, |
| 1073 | 1074 | listBody, |
| 1074 | 1075 | }; |
| 1075 | 1076 | |
| ... | ... | @@ -1319,6 +1320,7 @@ function PullRequestsColumn({ |
| 1319 | 1320 | searchInput, |
| 1320 | 1321 | filtersMenu, |
| 1321 | 1322 | rightPanelControl, |
| 1323 | rightPanelOpen, |
| 1322 | 1324 | listBody, |
| 1323 | 1325 | }: { |
| 1324 | 1326 | refreshing: boolean; |
| ... | ... | @@ -1334,6 +1336,7 @@ function PullRequestsColumn({ |
| 1334 | 1336 | searchInput: ReactNode; |
| 1335 | 1337 | filtersMenu: ReactNode; |
| 1336 | 1338 | rightPanelControl: ReactNode; |
| 1339 | rightPanelOpen: boolean; |
| 1337 | 1340 | listBody: ReactNode; |
| 1338 | 1341 | }) { |
| 1339 | 1342 | const scrollRef = useRef<HTMLDivElement | null>(null); |
| ... | ... | @@ -1398,6 +1401,12 @@ function PullRequestsColumn({ |
| 1398 | 1401 | <header |
| 1399 | 1402 | className={cn( |
| 1400 | 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)]", |
| 1401 | 1410 | COLLAPSED_SIDEBAR_TITLEBAR_INSET_CLASS, |
| 1402 | 1411 | )} |
| 1403 | 1412 | > |