File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1070,6 +1070,7 @@ function PullRequestsRouteView() {
10701070 filtersMenu,
10711071 rightPanelControl :
10721072 ! pullRequestsSupported || rightPanelState . isOpen ? null : panelToggleControls ,
1073+ rightPanelOpen : rightPanelState . isOpen ,
10731074 listBody,
10741075 } ;
10751076
@@ -1319,6 +1320,7 @@ function PullRequestsColumn({
13191320 searchInput,
13201321 filtersMenu,
13211322 rightPanelControl,
1323+ rightPanelOpen,
13221324 listBody,
13231325} : {
13241326 refreshing : boolean ;
@@ -1334,6 +1336,7 @@ function PullRequestsColumn({
13341336 searchInput : ReactNode ;
13351337 filtersMenu : ReactNode ;
13361338 rightPanelControl : ReactNode ;
1339+ rightPanelOpen : boolean ;
13371340 listBody : ReactNode ;
13381341} ) {
13391342 const scrollRef = useRef < HTMLDivElement | null > ( null ) ;
@@ -1398,6 +1401,12 @@ function PullRequestsColumn({
13981401 < header
13991402 className = { cn (
14001403 "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)]" ,
14011410 COLLAPSED_SIDEBAR_TITLEBAR_INSET_CLASS ,
14021411 ) }
14031412 >
You can’t perform that action at this time.
0 commit comments