We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f75fdc commit d78b009Copy full SHA for d78b009
.changeset/real-experts-leave.md
@@ -0,0 +1,5 @@
1
+---
2
+"ai-elements": patch
3
4
+
5
+Fix chain-of-thoughts dropdown arrow alignment by replacing `max-w-prose` with `w-full` for proper responsive layout.
packages/elements/src/chain-of-thought.tsx
@@ -64,10 +64,7 @@ export const ChainOfThought = memo(
64
65
return (
66
<ChainOfThoughtContext.Provider value={chainOfThoughtContext}>
67
- <div
68
- className={cn("not-prose max-w-prose space-y-4", className)}
69
- {...props}
70
- >
+ <div className={cn("not-prose w-full space-y-4", className)} {...props}>
71
{children}
72
</div>
73
</ChainOfThoughtContext.Provider>
0 commit comments