diff --git a/web/src/components/RelativeModal.jsx b/web/src/components/RelativeModal.jsx index 2398f643f..7dd1bf76e 100644 --- a/web/src/components/RelativeModal.jsx +++ b/web/src/components/RelativeModal.jsx @@ -79,7 +79,7 @@ export default function RelativeModal({ } // too close to bottom if (top + menuHeight > windowHeight - WINDOW_PADDING + window.scrollY) { - newTop = relativeToY - menuHeight; + newTop = WINDOW_PADDING; } if (top <= WINDOW_PADDING + window.scrollY) {