Ensure that dropdown is not cut off on even smaller displays. (#4)

This commit is contained in:
Ben Woo
2021-03-30 17:22:14 +08:00
committed by GitHub
parent 4e2d1d0126
commit 9701bd6529

View File

@@ -28,7 +28,7 @@ const Menu = styled.ul`
padding: 0;
list-style: none;
background-color: ${props => props.theme.highlight};
max-height: 90vh;
max-height: calc(100vh - 2em);
overflow: auto;
> li {