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(chat-input): align reasoning trigger with sibling icon buttons

Akarshan591c3d868dc7
diff --git a/web-app/src/containers/ChatInput.tsx b/web-app/src/containers/ChatInput.tsx
index 18e8809ce..8683a6518 100644
--- a/web-app/src/containers/ChatInput.tsx
+++ b/web-app/src/containers/ChatInput.tsx
@@ -2094,8 +2094,8 @@ const ChatInput = memo(function ChatInput({
<DropdownMenuTrigger asChild>
<Button
variant="ghost"
- size="sm"
- className="h-7 gap-1 px-1.5"
+ size="icon-xs"
+ aria-label={`Reasoning: ${label}`}
>
<IconBrain
size={18}
@@ -2105,9 +2105,6 @@ const ChatInput = memo(function ChatInput({
reasoningValue === 'off' && 'opacity-50'
)}
/>
- <span className="text-xs text-muted-foreground lowercase">
- {label}
- </span>
</Button>
</DropdownMenuTrigger>
</TooltipTrigger>