Skip to content

Commit d2c9281

Browse files
Jardo-51claude
andauthored
fix(web): pull request badge sits on the sidebar row's baseline (#14007)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
1 parent 76fa23d commit d2c9281

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎apps/web/src/components/ThreadStatusIndicators.tsx‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,9 @@ function PullRequestBadge({
273273
className={cn("contents font-normal text-xs tabular-nums", presentation.toneClassName)}
274274
>
275275
<presentation.Icon aria-hidden className="size-3 shrink-0" />
276-
{presentation.text}
276+
{/* An element, not bare text: bare text takes its line box from the control, which
277+
inherits the row's size, so beside a text-sm title it sat below the other meta. */}
278+
<span>{presentation.text}</span>
277279
</span>
278280
</TooltipTrigger>
279281
<TooltipPopup side="top">{presentation.label}</TooltipPopup>

0 commit comments

Comments
 (0)