Fix dropdown options getting cut off on smaller displays. (#3)

This commit is contained in:
Ben Woo
2021-03-30 01:06:24 +08:00
committed by GitHub
parent 522eba55e5
commit 4e2d1d0126

View File

@@ -28,6 +28,8 @@ const Menu = styled.ul`
padding: 0; padding: 0;
list-style: none; list-style: none;
background-color: ${props => props.theme.highlight}; background-color: ${props => props.theme.highlight};
max-height: 90vh;
overflow: auto;
> li { > li {
padding: .15em .5em; padding: .15em .5em;