Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
fix: add proper spacing to add-document-button (#754)
Souvik Biswas8f6db4e0deaf
diff --git a/pages/documents/index.tsx b/pages/documents/index.tsxindex f7a35e68..2cff9a1d 100644--- a/pages/documents/index.tsx+++ b/pages/documents/index.tsx@@ -25,23 +25,23 @@ export default function Documents() {return (<AppLayout><div className="sticky top-0 z-50 bg-white p-4 pb-0 dark:bg-gray-900 sm:mx-4 sm:pt-8">- <section className="mb-4 flex items-center justify-between md:mb-8 lg:mb-12">- <div className="space-y-1">+ <section className="mb-4 flex items-center justify-between space-x-2 sm:space-x-0 md:mb-8 lg:mb-12">+ <div className="space-y-0 sm:space-y-1"><h2 className="text-xl font-semibold tracking-tight text-foreground sm:text-2xl">All Documents</h2>- <p className="text-xs text-muted-foreground sm:text-sm">+ <p className="text-xs text-muted-foreground leading-4 sm:leading-none sm:text-sm">Manage all your documents in one place.</p></div><div className="flex items-center gap-x-1"><AddDocumentModal><Button- className="group flex flex-1 items-center justify-start gap-x-3 px-3 text-left"+ className="group flex flex-1 items-center justify-start whitespace-nowrap gap-x-1 sm:gap-x-3 px-1 sm:px-3 text-left"title="Add New Document"><PlusIcon className="h-5 w-5 shrink-0" aria-hidden="true" />- <span>Add New Document</span>+ <span className=" text-xs sm:text-base">Add New Document</span></Button></AddDocumentModal><AddFolderModal>