Skip to content
Open
Show file tree
Hide file tree
Changes from 6 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/itchy-pianos-help.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ai-elements": minor
---

Feat(prompt-input): add preview card and modal for pasted long text content
2 changes: 1 addition & 1 deletion packages/elements/src/attachments.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export const Attachments = ({
<AttachmentsContext.Provider value={contextValue}>
<div
className={cn(
"flex items-start",
"flex items-start w-full",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Full width for items-start to work, and spacing to avoid cards touching edges

Image

variant === "list" ? "flex-col gap-2" : "flex-wrap gap-2",
variant === "grid" && "ml-auto w-fit",
className
Expand Down
Loading
Loading