Skip to content

Commit 73db8c4

Browse files
Make file suggestions dropdown height responsive
1 parent fef761c commit 73db8c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/components/message/FileSuggestions.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export function FileSuggestions({
5050
return (
5151
<div
5252
ref={listRef}
53-
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"
53+
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"
5454
>
5555
{files.map((file, idx) => (
5656
<button

0 commit comments

Comments
 (0)