Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/real-experts-leave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ai-elements": patch
---

Fix chain-of-thoughts dropdown arrow alignment by replacing `max-w-prose` with `w-full` for proper responsive layout.
5 changes: 1 addition & 4 deletions packages/elements/src/chain-of-thought.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,7 @@ export const ChainOfThought = memo(

return (
<ChainOfThoughtContext.Provider value={chainOfThoughtContext}>
<div
className={cn("not-prose max-w-prose space-y-4", className)}
{...props}
>
<div className={cn("not-prose w-full space-y-4", className)} {...props}>
{children}
</div>
</ChainOfThoughtContext.Provider>
Expand Down