diff --git a/src/components/prompt-input.tsx b/src/components/prompt-input.tsx index 0dfe68d2..dd7c7382 100644 --- a/src/components/prompt-input.tsx +++ b/src/components/prompt-input.tsx @@ -287,19 +287,34 @@ export default function PromptInput(props: PromptInputProps) { /> -
+
0}> -
+
{(attachment) => ( -
- @{attachment.filename} +
+ + + + {attachment.filename}
)} @@ -317,6 +332,7 @@ export default function PromptInput(props: PromptInputProps) { onBlur={() => setIsFocused(false)} disabled={sending() || props.disabled} rows={1} + style={attachments().length > 0 ? { "padding-top": "8px" } : {}} />