mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
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:
commit
265d53852c
1 changed files with 4 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue