Skip to content

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

adds scrollbar to add folder modal (#1066)

sateshcharandb7620d78c4b
diff --git a/components/datarooms/move-dataroom-folder-modal.tsx b/components/datarooms/move-dataroom-folder-modal.tsx
index 6093e65d..e6fb00d7 100644
--- a/components/datarooms/move-dataroom-folder-modal.tsx
+++ b/components/datarooms/move-dataroom-folder-modal.tsx
@@ -79,7 +79,7 @@ export function MoveToDataroomFolderModal({
<DialogDescription>Move your document to a folder.</DialogDescription>
</DialogHeader>
<form>
- <div className="mb-2">
+ <div className="mb-2 max-h-[75vh] overflow-y-scroll">
<SidebarFolderTreeSelection
dataroomId={dataroomId}
selectedFolder={selectedFolder}
diff --git a/components/documents/move-folder-modal.tsx b/components/documents/move-folder-modal.tsx
index 66e15cc5..4004c8c6 100644
--- a/components/documents/move-folder-modal.tsx
+++ b/components/documents/move-folder-modal.tsx
@@ -76,7 +76,7 @@ export function MoveToFolderModal({
<DialogDescription>Move your document to a folder.</DialogDescription>
</DialogHeader>
<form>
- <div className="mb-2">
+ <div className="mb-2 max-h-[75vh] overflow-y-scroll">
<SidebarFolderTreeSelection
selectedFolder={selectedFolder}
setSelectedFolder={setSelectedFolder}