mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 08:23:34 +00:00
The modal wasn't scrolling because ScrollArea needed explicit height constraints. Changes: - Set DialogContent to h-[90vh] (fixed height) instead of max-h - Removed default padding (p-0) from DialogContent - Added padding explicitly to header (px-6 pt-6) and scroll wrapper (px-6 pb-6) - Wrapped ScrollArea in a container div with flex-1 min-h-0 overflow-hidden - Set ScrollArea to h-full so it takes the full height of its container - Added pr-4 to inner content div to account for scrollbar The key insight: ScrollArea needs a definite height to work. Using flex-1 alone doesn't provide that - it needs a parent with min-h-0 and a child with h-full.