Close canvas while streaming (#500)
This commit is contained in:
parent
24fdf181bc
commit
6801f3a236
4 changed files with 16 additions and 8 deletions
|
|
@ -238,7 +238,7 @@ export function MultimodalInput({
|
|||
/>
|
||||
|
||||
{(attachments.length > 0 || uploadQueue.length > 0) && (
|
||||
<div className="flex flex-row gap-2 overflow-x-scroll">
|
||||
<div className="flex flex-row gap-2 overflow-x-scroll items-end">
|
||||
{attachments.map((attachment) => (
|
||||
<PreviewAttachment key={attachment.url} attachment={attachment} />
|
||||
))}
|
||||
|
|
@ -263,7 +263,7 @@ export function MultimodalInput({
|
|||
value={input}
|
||||
onChange={handleInput}
|
||||
className={cx(
|
||||
'min-h-[24px] overflow-hidden resize-none rounded-xl text-base bg-muted',
|
||||
'min-h-[24px] max-h-[calc(75dvh)] overflow-hidden resize-none rounded-xl text-base bg-muted',
|
||||
className
|
||||
)}
|
||||
rows={3}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue