mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 12:54:20 +01:00
Make file suggestions dropdown height responsive
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user