fix: add max width

This commit is contained in:
Henry Li
2026-01-29 16:12:30 +08:00
parent a135ddfa48
commit a4f749f939

View File

@@ -397,7 +397,9 @@ export function PromptInputAttachments({
{...props} {...props}
> >
{attachments.files.map((file) => ( {attachments.files.map((file) => (
<Fragment key={file.id}>{children(file)}</Fragment> <Fragment key={file.id}>
<div className="max-w-60">{children(file)}</div>
</Fragment>
))} ))}
</div> </div>
); );