Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
Fix ui on documents list page
Ashish Viradiya43af6d73c7fb
diff --git a/components/documents/documents-list.tsx b/components/documents/documents-list.tsxindex a899d8f6..aca86a75 100644--- a/components/documents/documents-list.tsx+++ b/components/documents/documents-list.tsx@@ -347,7 +347,7 @@ export function DocumentsList({},}}>- <div className="space-y-4 pb-3">+ <div className="space-y-4">{/* Folders list */}<ul role="list" className="space-y-4">{foldersdiff --git a/components/upload-zone.tsx b/components/upload-zone.tsxindex 78568a3d..bc6b8455 100644--- a/components/upload-zone.tsx+++ b/components/upload-zone.tsx@@ -643,7 +643,7 @@ export default function UploadZone({return (<div{...getRootProps({ onClick: (evt) => evt.stopPropagation() })}- className="relative h-full min-h-[calc(100vh-350px)]"+ className="relative"><divclassName={cn(diff --git a/pages/documents/index.tsx b/pages/documents/index.tsxindex 83a98bb6..c3997bf3 100644--- a/pages/documents/index.tsx+++ b/pages/documents/index.tsx@@ -20,7 +20,7 @@ export default function Documents() {return (<AppLayout>- <div className="sticky top-0 bg-white p-4 pb-0 dark:bg-gray-900 sm:mx-4 sm:pt-8">+ <div className="sticky top-0 mb-4 min-h-[calc(100vh-72px)] rounded-lg bg-white p-4 dark:bg-gray-900 sm:mx-4 sm:pt-8"><section className="mb-4 flex items-center justify-between space-x-2 sm:space-x-0"><div className="space-y-0 sm:space-y-1"><h2 className="text-xl font-semibold tracking-tight text-foreground sm:text-2xl">