Merge pull request #1440 from omnivore-app/fix/dropzone-container

Make dropzone fill all available space so the grid isnt resized down
This commit is contained in:
Jackson Harper 2022-11-22 17:29:15 +08:00 committed by GitHub
commit 265d53852c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -911,7 +911,10 @@ function HomeFeedGrid(props: HomeFeedContentProps): JSX.Element {
noClick={true}
>
{({ getRootProps, getInputProps, acceptedFiles, fileRejections }) => (
<div {...getRootProps({ className: 'dropzone' })}>
<div
{...getRootProps({ className: 'dropzone' })}
style={{ width: '100%', height: '100%' }}
>
{inDragOperation && uploadingFiles.length < 1 && (
<DragnDropContainer>
<DragnDropStyle>