refactor(web): ui components drop their secondary className props (#13193)

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
Julius MarmingeandClaude Opus 5.5 authored and GitHub committed 2026-09-22 21:33:01 -07:00
1 parent 266d70cc4d
commit 361b047f5f
30 files changed
+127 -205

No files matched your search

@@ -147,7 +147,6 @@ export function PullRequestCandidatePicker<T>({
index={index}
value={keys[index]}
disabled={disabled}
contentClassName="flex min-w-0 items-center gap-2"
>
{children(candidate)}
</ComboboxItem>
@@ -388,12 +388,7 @@ function PullRequestBaseFreshnessWarning({
{children}
<TriangleAlertIcon aria-hidden className={cn("size-3.5 shrink-0", iconClassName)} />
</PopoverTrigger>
<PopoverPopup
align="start"
side="bottom"
className="max-w-80"
viewportClassName="py-2.5 [--viewport-inline-padding:--spacing(3)]"
>
<PopoverPopup align="start" side="bottom" className="max-w-80" padding="compact">
<p className="text-xs text-foreground">{summary}</p>
<p className="mt-0.5 text-xs text-muted-foreground">Changes can be cleanly merged.</p>
{/* Each way the host offers and this reader may take, as its own button: a split button
@@ -134,7 +134,7 @@ export function PullRequestReactionBar({
>
<SmilePlusIcon aria-hidden className="size-3.5" />
</PopoverTrigger>
<PopoverPopup align="start" side="top" viewportClassName="py-2">
<PopoverPopup align="start" side="top" padding="compact">
<div className="flex items-center gap-0.5">
{PULL_REQUEST_REACTION_ORDER.map((content) => {
const reacted =