ChatComposer: shrink "x" icon, fix pending upload jump
This commit is contained in:
parent
25277b0b73
commit
89d55b1b70
|
@ -35,7 +35,7 @@ const ChatTextarea: React.FC<IChatTextarea> = ({
|
||||||
`}
|
`}
|
||||||
>
|
>
|
||||||
{(!!attachments?.length || isUploading) && (
|
{(!!attachments?.length || isUploading) && (
|
||||||
<div className='p-3 pb-0'>
|
<div className='flex p-3 pb-0'>
|
||||||
{isUploading && (
|
{isUploading && (
|
||||||
<ChatPendingUpload progress={uploadProgress} />
|
<ChatPendingUpload progress={uploadProgress} />
|
||||||
)}
|
)}
|
||||||
|
|
|
@ -56,7 +56,7 @@ const RemoveButton: React.FC<IRemoveButton> = ({ onClick }) => {
|
||||||
className='flex h-5 w-5 items-center justify-center rounded-full bg-secondary-500 p-1'
|
className='flex h-5 w-5 items-center justify-center rounded-full bg-secondary-500 p-1'
|
||||||
>
|
>
|
||||||
<Icon
|
<Icon
|
||||||
className='h-4 w-4 text-white'
|
className='h-3 w-3 text-white'
|
||||||
src={require('@tabler/icons/x.svg')}
|
src={require('@tabler/icons/x.svg')}
|
||||||
/>
|
/>
|
||||||
</button>
|
</button>
|
||||||
|
|
Loading…
Reference in New Issue