fix: Allow context menus to use more available viewport height

This commit is contained in:
Tom Moor
2023-10-10 19:32:24 -04:00
parent bf53ac4f4b
commit 547b6c0ac9
2 changed files with 1 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ import useWindowSize from "~/hooks/useWindowSize";
const useMenuHeight = ({
visible,
elementRef,
maxViewportHeight = 70,
maxViewportHeight = 90,
margin = 8,
}: {
/** Whether the menu is visible. */