Skip to content

Commit

Permalink
fix: Remove overflow of attachment dropzone
Browse files Browse the repository at this point in the history
  • Loading branch information
meltyshev committed Feb 5, 2024
1 parent 0c1c7e2 commit fd5c33d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Expand Up @@ -94,7 +94,7 @@ const AttachmentAddZone = React.memo(({ children, onCreate }) => {
return (
<>
{/* eslint-disable-next-line react/jsx-props-no-spreading */}
<div {...getRootProps()} className={styles.wrapper}>
<div {...getRootProps()}>
{isDragActive && <div className={styles.dropzone}>{t('common.dropFileToUpload')}</div>}
{children}
{/* eslint-disable-next-line react/jsx-props-no-spreading */}
Expand Down
Expand Up @@ -12,8 +12,4 @@
width: 100%;
z-index: 2001;
}

.wrapper {
overflow: hidden;
}
}

0 comments on commit fd5c33d

Please sign in to comment.