Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

feat: make add documents always big

Marc Seitz8faf5fb4f7da
diff --git a/pages/datarooms/[id]/documents/index.tsx b/pages/datarooms/[id]/documents/index.tsx
index d8865a9e..8f726d92 100644
--- a/pages/datarooms/[id]/documents/index.tsx
+++ b/pages/datarooms/[id]/documents/index.tsx
@@ -59,11 +59,14 @@ export default function Documents() {
dataroomId={dataroom?.id}
key={1}
>
- <ResponsiveButton
- icon={<PlusIcon className="h-5 w-5 shrink-0" />}
- text="Add Document"
+ <Button
size="sm"
- />
+ className="group flex items-center justify-start gap-x-3 px-3 text-left"
+ title="Add Document"
+ >
+ <PlusIcon className="h-5 w-5 shrink-0" aria-hidden="true" />
+ <span>Add Document</span>
+ </Button>
</AddDocumentModal>
<AddFolderModal isDataroom={true} dataroomId={dataroom?.id} key={2}>