fix: 🐛 Overflow scroll list menu based on screen hight (#4123)
This commit is contained in:
parent
d5759d6c06
commit
6bba2e70f8
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user