Skip to content

Commit ae3af00

Browse files
committed
Update chain-of-thought.tsx
1 parent 99088be commit ae3af00

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/elements/src/chain-of-thought.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export const ChainOfThoughtStep = memo(
145145
<Icon className="size-4" />
146146
<div className="-mx-px absolute top-7 bottom-0 left-1/2 w-px bg-border" />
147147
</div>
148-
<div className="flex-1 space-y-2">
148+
<div className="flex-1 space-y-2 overflow-hidden">
149149
<div>{label}</div>
150150
{description && (
151151
<div className="text-muted-foreground text-xs">{description}</div>
@@ -161,7 +161,10 @@ export type ChainOfThoughtSearchResultsProps = ComponentProps<"div">;
161161

162162
export const ChainOfThoughtSearchResults = memo(
163163
({ className, ...props }: ChainOfThoughtSearchResultsProps) => (
164-
<div className={cn("flex flex-wrap items-center gap-2", className)} {...props} />
164+
<div
165+
className={cn("flex flex-wrap items-center gap-2", className)}
166+
{...props}
167+
/>
165168
)
166169
);
167170

0 commit comments

Comments
 (0)