From 4e8f78a42de8903e909739a0398c196aae9cbfe0 Mon Sep 17 00:00:00 2001 From: pouyarezvani Date: Wed, 4 Nov 2026 12:37:55 -0800 Subject: [PATCH] fix(web): the Fix action on a thread details PR row stays inside the card On a watched pull request whose checks show a count, the row's metadata line (number, checks count, watch icon, trailing action) is wider than the 280px thread details card. Every control on it is shrink-0 and nowrap, so the card clipped the Fix action at its right edge. The checks count control now shrinks and its label truncates, so the trailing action always stays fully visible. Closes #31113 Co-Authored-By: Claude Opus 5.5 --- apps/web/src/components/chat/ThreadDetailsPrRow.tsx | 2 +- .../src/components/pullRequest/PullRequestChecksPopover.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/web/src/components/chat/ThreadDetailsPrRow.tsx b/apps/web/src/components/chat/ThreadDetailsPrRow.tsx index 8c3f814427991..76028cf168a51 100644 --- a/apps/web/src/components/chat/ThreadDetailsPrRow.tsx +++ b/apps/web/src/components/chat/ThreadDetailsPrRow.tsx @@ -445,7 +445,7 @@ export function ThreadDetailsPrRow({ checksState={checksRollup} checks={detail.checks} variant="count" - render={} + render={} /> ) : null} {watchControl("icon")} diff --git a/apps/web/src/components/pullRequest/PullRequestChecksPopover.tsx b/apps/web/src/components/pullRequest/PullRequestChecksPopover.tsx index cfcea204a56ee..c74be44c78bae 100644 --- a/apps/web/src/components/pullRequest/PullRequestChecksPopover.tsx +++ b/apps/web/src/components/pullRequest/PullRequestChecksPopover.tsx @@ -182,11 +182,11 @@ export function PullRequestChecksPopover({ {variant === "count" ? ( <> {checks !== undefined && incompleteCount > 0 ? ( - + {checks.length - incompleteCount}/{checks.length} checks ) : failedCount > 0 ? ( - {failedCount} failed + {failedCount} failed ) : null} ) : null}