mirror of
https://github.com/documenso/documenso
synced 2026-05-24 09:28:27 +00:00
fix: improved document-dropzone ui for small vertical screens (#857)
improved document-dropzone ui for small vertical screens (screens less than 800px vertically) Although it can still become congested on really small vertical screens, but possibility is really low. fixes: #840
This commit is contained in:
commit
a0cf2a2c75
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ export const UploadDocument = ({ className, team }: UploadDocumentProps) => {
|
|||
return (
|
||||
<div className={cn('relative', className)}>
|
||||
<DocumentDropzone
|
||||
className="min-h-[40vh]"
|
||||
className="h-[min(400px,50vh)]"
|
||||
disabled={remaining.documents === 0 || !session?.user.emailVerified}
|
||||
disabledMessage={disabledMessage}
|
||||
onDrop={onFileDrop}
|
||||
|
|
|
|||
Loading…
Reference in a new issue