mirror of
https://github.com/documenso/documenso
synced 2026-05-24 09:28:27 +00:00
fix: update css
This commit is contained in:
parent
e5c2263e92
commit
a30b73ce86
1 changed files with 1 additions and 3 deletions
|
|
@ -96,12 +96,10 @@ export const UploadDocument = ({ className }: UploadDocumentProps) => {
|
|||
}
|
||||
};
|
||||
|
||||
const isSmallVerticalScreen = typeof window !== 'undefined' && window.innerHeight < 800;
|
||||
|
||||
return (
|
||||
<div className={cn('relative', className)}>
|
||||
<DocumentDropzone
|
||||
className={`${isSmallVerticalScreen ? 'min-h-[50vh]' : '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