@devries-cameron20 / t3code Mirror · read-only / commits / f43f6ddde0
Fork 0

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

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 23, 15:30 UTC

fix(web): even 4px inset around rows in the PR badge tooltip (#18352)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

Dara Adedeji committed Oct 11, 2026 at 17:35 UTC f43f6ddde06047d8d53da0abb355b41d703562ce
1 file changed +18 -14
apps/web/src/components/ThreadStatusIndicators.tsx
+18 -14
@@ -316,22 +316,26 @@ function PullRequestBadge({
316 variant="glass"
317 className="pointer-events-auto w-80 max-w-[calc(100vw-2rem)] text-left whitespace-normal"
318 >
319 - {visibleThreadPullRequests(pullRequests).length > 0 ? (
320 - <ThreadPullRequestsMiniList
321 - pullRequests={pullRequests}
322 - onOpenPullRequest={onOpenPullRequest}
323 - />
324 - ) : number !== undefined && url !== undefined ? (
325 - <ul className="flex flex-col gap-1">
326 - <ThreadPullRequestMiniListItem
327 - number={number}
328 - url={url}
329 - title={status?.tooltipTitle ?? presentation.label}
330 - presentation={presentation}
319 + {/* The viewport pads 8px inline and 4px block; pull the rows out so their hover
320 + highlight sits 4px from every edge. */}
321 + <div className="-mx-1">
322 + {visibleThreadPullRequests(pullRequests).length > 0 ? (
323 + <ThreadPullRequestsMiniList
324 + pullRequests={pullRequests}
325 onOpenPullRequest={onOpenPullRequest}
326 />
333 - </ul>
334 - ) : null}
327 + ) : number !== undefined && url !== undefined ? (
328 + <ul className="flex flex-col gap-1">
329 + <ThreadPullRequestMiniListItem
330 + number={number}
331 + url={url}
332 + title={status?.tooltipTitle ?? presentation.label}
333 + presentation={presentation}
334 + onOpenPullRequest={onOpenPullRequest}
335 + />
336 + </ul>
337 + ) : null}
338 + </div>
339 </TooltipPopup>
340 </Tooltip>
341 );