Skip to content

Commit 60775b8

Browse files
authored
fix(web): center default badges in the reasoning selector (pingdotgg#21252)
1 parent 2131698 commit 60775b8

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

‎apps/web/src/components/chat/TraitsPicker.tsx‎

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -509,16 +509,9 @@ export const TraitsMenuContent = memo(function TraitsMenuContentImpl({
509509
disabled={ultrathinkInBodyText && descriptor.id === primarySelectDescriptor?.id}
510510
>
511511
<span className="flex w-full min-w-0 flex-col">
512-
<span className="flex w-full min-w-0 items-center justify-between gap-3">
513-
<span className="min-w-0 truncate">
514-
{option.label}
515-
{option.isDefault ? (
516-
<>
517-
{" "}
518-
<DefaultBadge />
519-
</>
520-
) : null}
521-
</span>
512+
<span className="flex min-w-0 items-center gap-1">
513+
<span className="min-w-0 truncate">{option.label}</span>
514+
{option.isDefault ? <DefaultBadge /> : null}
522515
</span>
523516
{option.description ? (
524517
<span className="max-w-56 text-pretty text-muted-foreground/80 text-xs">

0 commit comments

Comments
 (0)