diff --git a/app/soapbox/features/chats/components/chat-textarea.tsx b/app/soapbox/features/chats/components/chat-textarea.tsx index 22b0877e9..7a15a036a 100644 --- a/app/soapbox/features/chats/components/chat-textarea.tsx +++ b/app/soapbox/features/chats/components/chat-textarea.tsx @@ -1,6 +1,6 @@ import React from 'react'; -import { Textarea } from 'soapbox/components/ui'; +import { HStack, Textarea } from 'soapbox/components/ui'; import { Attachment } from 'soapbox/types/entities'; import ChatPendingUpload from './chat-pending-upload'; @@ -35,19 +35,23 @@ const ChatTextarea: React.FC = ({ `} > {(!!attachments?.length || isUploading) && ( -
- {isUploading && ( - - )} - + {attachments?.map(attachment => ( - +
+ +
))} -
+ + {isUploading && ( +
+ +
+ )} + )}