From 6d80fe9602cfe5533079fecfc2b4f1784b80b7d6 Mon Sep 17 00:00:00 2001 From: Sean Hatfield <seanhatfield5@gmail.com> Date: Wed, 27 Mar 2024 14:42:37 -0700 Subject: [PATCH] [FIX] Add max height and scrolling to FolderSelectionPopup (#982) * add max height and scrolling to FolderSelectionPopup * hide scrollbar --------- Co-authored-by: timothycarambat <rambat1010@gmail.com> --- .../Documents/Directory/FolderSelectionPopup/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/Modals/MangeWorkspace/Documents/Directory/FolderSelectionPopup/index.jsx b/frontend/src/components/Modals/MangeWorkspace/Documents/Directory/FolderSelectionPopup/index.jsx index 2ebfcde2d..5261b8956 100644 --- a/frontend/src/components/Modals/MangeWorkspace/Documents/Directory/FolderSelectionPopup/index.jsx +++ b/frontend/src/components/Modals/MangeWorkspace/Documents/Directory/FolderSelectionPopup/index.jsx @@ -7,7 +7,7 @@ export default function FolderSelectionPopup({ folders, onSelect, onClose }) { }; return ( - <div className="absolute bottom-full left-0 mb-2 bg-white rounded-lg shadow-lg"> + <div className="absolute bottom-full left-0 mb-2 bg-white rounded-lg shadow-lg max-h-40 overflow-y-auto no-scroll"> <ul> {folders.map((folder) => ( <li