Skip to content

⭐️⭐️⭐️ Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship products.

fix(web): restore modal body scrolling (#70)

Croff31d471d89a8a
diff --git a/apps/web/src/components/common/overlay/Modal.tsx b/apps/web/src/components/common/overlay/Modal.tsx
index d9adec2f..75f34b55 100644
--- a/apps/web/src/components/common/overlay/Modal.tsx
+++ b/apps/web/src/components/common/overlay/Modal.tsx
@@ -59,7 +59,10 @@ export default function Modal({
'transition-none',
fullscreen
? 'top-0 left-0 flex h-screen w-screen max-w-none translate-x-0 translate-y-0 flex-col overflow-hidden rounded-none border-0 sm:max-w-none'
- : cn('max-h-[85vh] overflow-hidden', MAX_WIDTH[`${wide}`]),
+ : // A flex column, not the grid DialogContent defaults to: an auto grid
+ // row keeps its content height under a capped container, so the body
+ // never shrinks and never scrolls.
+ cn('flex max-h-[85vh] flex-col overflow-hidden', MAX_WIDTH[`${wide}`]),
)}
>
<DialogHeader>