fix(web): pull request badge sits on the sidebar row's baseline (#14007)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
1 parent
76fa23df2e
commit
d2c9281b81
1 file changed
+3
-1
@@ -273,7 +273,9 @@ function PullRequestBadge({
|
||||
className={cn("contents font-normal text-xs tabular-nums", presentation.toneClassName)}
|
||||
>
|
||||
<presentation.Icon aria-hidden className="size-3 shrink-0" />
|
||||
{presentation.text}
|
||||
{/* An element, not bare text: bare text takes its line box from the control, which
|
||||
inherits the row's size, so beside a text-sm title it sat below the other meta. */}
|
||||
<span>{presentation.text}</span>
|
||||
</span>
|
||||
</TooltipTrigger>
|
||||
<TooltipPopup side="top">{presentation.label}</TooltipPopup>
|
||||
|
||||
Reference in new issue
Block a user