From 4d06156dd7821851007e61489105f33dbb241a7f Mon Sep 17 00:00:00 2001 From: maria Date: Thu, 10 Sep 2026 23:59:10 -0300 Subject: [PATCH] fix(web): center pull request unavailable states (#11110) --- .../components/pullRequest/PullRequestDetailPanel.tsx | 10 ++++++++-- .../pullRequest/PullRequestsUnavailableState.tsx | 2 +- apps/web/src/routes/_chat.pull-requests.tsx | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/apps/web/src/components/pullRequest/PullRequestDetailPanel.tsx b/apps/web/src/components/pullRequest/PullRequestDetailPanel.tsx index 236d7cd86ad996f39fe3ce05b957fe5e03ba7c6e..5b86ef5ee3ba8d3fd705e061ba9c51a2eb214cfa 100644 --- a/apps/web/src/components/pullRequest/PullRequestDetailPanel.tsx +++ b/apps/web/src/components/pullRequest/PullRequestDetailPanel.tsx @@ -1447,7 +1447,13 @@ export function PullRequestDetailPanel({ onPickerOpenChange={setThreadPickerOpen} /> ) : null} -
+
{ const scroller = event.target as HTMLElement; scrollerRef.current = scroller; diff --git a/apps/web/src/components/pullRequest/PullRequestsUnavailableState.tsx b/apps/web/src/components/pullRequest/PullRequestsUnavailableState.tsx index 26c80326aec0b4125b93818d442dc4c2256882c0..f17ec882c5a0a935b0c1abf9549441a93161009e 100644 --- a/apps/web/src/components/pullRequest/PullRequestsUnavailableState.tsx +++ b/apps/web/src/components/pullRequest/PullRequestsUnavailableState.tsx @@ -25,7 +25,7 @@ export function PullRequestsUnavailableState({ gitHubUrl?: string; }) { return ( - + diff --git a/apps/web/src/routes/_chat.pull-requests.tsx b/apps/web/src/routes/_chat.pull-requests.tsx index 24dcab132b861a95ddfba3122a0729a40e326bd3..5a21a2cc37ff7395ee8c9c1a551e39b6c1dd8416 100644 --- a/apps/web/src/routes/_chat.pull-requests.tsx +++ b/apps/web/src/routes/_chat.pull-requests.tsx @@ -2362,7 +2362,7 @@ function PullRequestsColumn({ {/* The top padding is the shared fade band's height, the same pairing the settings page makes: at rest the controls sit fully below the mask, and only content actually passing under the chrome fades. */} - +
-- 2.54.0