Commit 11b88c14 authored by Alf Eaton's avatar Alf Eaton
Browse files

Add overflow to menu list component

Add max-height to menu list component so it scrolls if it's too tall for the window.
parent 8d7fe376
......@@ -41,6 +41,8 @@ export const MenuList = styled.div`
white-space: nowrap;
width: auto;
z-index: 10;
max-height: 80vh;
overflow-y: auto;
&[data-placement='bottom-start'] {
border-top-left-radius: 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment