ChatComposer: shrink "x" icon, fix pending upload jump

This commit is contained in:
Alex Gleason 2023-02-06 11:30:36 -06:00
parent 25277b0b73
commit 89d55b1b70
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
2 changed files with 2 additions and 2 deletions

View File

@ -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} />
)} )}

View File

@ -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>