Make file suggestions dropdown height responsive

This commit is contained in:
Chris Scott committed 2025-12-05 07:31:33 -08:00
1 parent fef761c860
commit 73db8c491d
1 file changed
+1 -1
@@ -50,7 +50,7 @@ export function FileSuggestions({
return (
<div
ref={listRef}
className="absolute bottom-full left-0 right-0 mb-2 z-50 bg-background border border-border rounded-lg shadow-xl max-h-64 overflow-y-auto"
className="absolute bottom-full left-0 right-0 mb-2 z-50 bg-background border border-border rounded-lg shadow-xl max-h-[30vh] md:max-h-[40vh] lg:max-h-[50vh] overflow-y-auto"
>
{files.map((file, idx) => (
<button