Skip to content

The agent that grows with you

fix(desktop): constrain composer attachment row to stop empty-prompt overflow

52216165198c89be5688
diff --git a/apps/desktop/src/app/chat/composer/attachments.tsx b/apps/desktop/src/app/chat/composer/attachments.tsx
index f9582a1256a..79b25c090ee 100644
--- a/apps/desktop/src/app/chat/composer/attachments.tsx
+++ b/apps/desktop/src/app/chat/composer/attachments.tsx
@@ -23,7 +23,7 @@ export function AttachmentList({
onRemove?: (id: string) => void
}) {
return (
- <div className="flex max-w-full flex-wrap gap-1.5 px-1 pt-1" data-slot="composer-attachments">
+ <div className="flex max-w-full flex-shrink-0 flex-wrap gap-1.5 px-1 pt-1 overflow-hidden" data-slot="composer-attachments">
{attachments.filter(Boolean).map(attachment => (
<AttachmentPill
attachment={attachment}