2
0

feat(editor): ️ Accept uploaded gif for image bubble

This commit is contained in:
Baptiste Arnaud
2022-06-25 09:40:38 +02:00
parent 55108c80e8
commit 9222fcb050
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ export const UploadButton = ({
id="file-input"
display="none"
onChange={handleInputChange}
accept=".jpg, .jpeg, .png, .svg"
accept=".jpg, .jpeg, .png, .svg, .gif"
/>
<Button
as="label"

View File

@ -67,7 +67,7 @@ export const ImageBubble = ({ block, onTransitionEnd }: Props) => {
ref={image}
src={url}
className={
'p-4 content-opacity z-10 w-auto ' +
'p-4 content-opacity z-10 w-auto rounded-lg ' +
(isTyping ? 'opacity-0' : 'opacity-100')
}
style={{