Make dropzone fill all available space so the grid isnt resized down

This commit is contained in:
Jackson Harper 2022-11-22 16:50:32 +08:00
parent d34444bb7a
commit 57ee1cb5a2

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>