Skip to content

Commit 6d3f1a7

Browse files
Seluj78claude
andcommitted
fix(web): make directory browser listing scrollable
Cap inner list height at 50vh with overflow-y-auto so tall listings don't push the projects add form off-screen on small viewports. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent bb81036 commit 6d3f1a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

web/src/components/DirectoryBrowser.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export function DirectoryBrowser({ initialPath, onSelect }: Props) {
136136
</div>
137137

138138
{/* Directory listing */}
139-
<div className="border border-surface-700 rounded-lg overflow-hidden" role="listbox" aria-label="Directories">
139+
<div className="border border-surface-700 rounded-lg overflow-y-auto max-h-[50vh]" role="listbox" aria-label="Directories">
140140
{loading ? (
141141
// Skeleton loading rows
142142
<div className="animate-pulse">

0 commit comments

Comments
 (0)