Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

fix: scrollable dropdown assiatant

Faisal Amire2442a036262
diff --git a/web-app/src/containers/ChatInput.tsx b/web-app/src/containers/ChatInput.tsx
index 9ce2a645d..e97514261 100644
--- a/web-app/src/containers/ChatInput.tsx
+++ b/web-app/src/containers/ChatInput.tsx
@@ -1551,7 +1551,7 @@ const ChatInput = memo(function ChatInput({
<IconUser size={18} className="text-muted-foreground" />
<span>Use Assistant</span>
</DropdownMenuSubTrigger>
- <DropdownMenuSubContent>
+ <DropdownMenuSubContent className="max-h-64 overflow-y-auto">
<DropdownMenuItem
className={!selectedAssistant && !currentThread?.assistants?.length ? 'bg-accent' : ''}
onClick={() => {