From 9701bd652914778655ddef082d53adcf46733e6d Mon Sep 17 00:00:00 2001 From: Ben Woo <30431861+benwoo1110@users.noreply.github.com> Date: Tue, 30 Mar 2021 17:22:14 +0800 Subject: [PATCH] Ensure that dropdown is not cut off on even smaller displays. (#4) --- src/components/Menu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Menu.js b/src/components/Menu.js index c665cc9..369190c 100644 --- a/src/components/Menu.js +++ b/src/components/Menu.js @@ -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 {