Skip to content

Commit 16a9966

Browse files
Wrap items CoT search results component (#278)
* wrap items CoT search results component * Create two-bats-yawn.md --------- Co-authored-by: Hayden Bleasel <[email protected]>
1 parent b37a002 commit 16a9966

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/two-bats-yawn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"ai-elements": patch
3+
---
4+
5+
Wrap items CoT search results component

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export type ChainOfThoughtSearchResultsProps = ComponentProps<"div">;
161161

162162
export const ChainOfThoughtSearchResults = memo(
163163
({ className, ...props }: ChainOfThoughtSearchResultsProps) => (
164-
<div className={cn("flex items-center gap-2", className)} {...props} />
164+
<div className={cn("flex flex-wrap items-center gap-2", className)} {...props} />
165165
)
166166
);
167167

0 commit comments

Comments
 (0)