fix: 🐛 Overflow scroll list menu based on screen hight (#4123)

This commit is contained in:
Igor Octaviano authored and GitHub committed 2024-05-15 09:16:02 -04:00
1 parent d5759d6c06
commit 6bba2e70f8
1 file changed
+4 -1
@@ -30,7 +30,10 @@ const ListMenu = ({ items = [], renderer, onClick }) => {
};
return (
<div className="bg-secondary-dark flex flex-col gap-[4px] rounded-md p-1">
<div
className="bg-secondary-dark flex flex-col gap-[4px] overflow-scroll rounded-md p-1"
style={{ maxHeight: 'calc(100vh - 5rem)' }}
>
{items.map((item, index) => {
return (
<ListItem