[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>
This commit is contained in:
Sean Hatfield 2024-03-27 14:42:37 -07:00 committed by GitHub
parent bf8df60c02
commit 6d80fe9602
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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