Skip to content

Commit 0748123

Browse files
committed
fix: enable scroll in DirectoryPicker card area
Add min-h-0 to ScrollArea -- flex children default to min-height:auto which prevents them from shrinking below content size. Without min-h-0, the card grid grows to fit all content and never triggers overflow scroll. Classic flexbox scroll fix.
1 parent 3b695b5 commit 0748123

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/components/DirectoryPicker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export function DirectoryPicker({
105105
</div>
106106
</div>
107107

108-
<ScrollArea className="flex-1 px-6">
108+
<ScrollArea className="flex-1 min-h-0 px-6">
109109
<motion.div
110110
className="flex flex-wrap gap-2 pb-4"
111111
initial="hidden"

0 commit comments

Comments
 (0)