Skip to content

Commit

Permalink
feat(editor): ⚡️ Accept uploaded gif for image bubble
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Jun 25, 2022
1 parent 55108c8 commit 9222fcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/builder/components/shared/buttons/UploadButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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={{
Expand Down

0 comments on commit 9222fcb

Please sign in to comment.