Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

📏 fix: Size Agent Builder Tool and Skill Rows (#15134)

Marco Beretta69bf8ffdf15b
diff --git a/client/src/components/SidePanel/Agents/Tools/ToolRow.tsx b/client/src/components/SidePanel/Agents/Tools/ToolRow.tsx
index 1095f1132a..ef8d3131f3 100644
--- a/client/src/components/SidePanel/Agents/Tools/ToolRow.tsx
+++ b/client/src/components/SidePanel/Agents/Tools/ToolRow.tsx
@@ -81,12 +81,13 @@ function ToolRowImpl({ item, onInfo, onRemove }: Props) {
>
<Button
variant="ghost"
+ size="icon-xs"
onClick={() => onInfo(item)}
aria-label={
configurable ? localize('com_ui_tools_configure') : localize('com_ui_tools_info')
}
className={cn(
- 'size-6 rounded-md p-0 text-text-secondary',
+ 'rounded-md text-text-secondary',
'hover:text-text-secondary focus-visible:opacity-100',
)}
>
@@ -94,10 +95,11 @@ function ToolRowImpl({ item, onInfo, onRemove }: Props) {
</Button>
<Button
variant="ghost"
+ size="icon-xs"
onClick={() => onRemove(item)}
aria-label={localize('com_ui_tools_remove')}
className={cn(
- 'size-6 rounded-md p-0 text-text-secondary',
+ 'rounded-md text-text-secondary',
'hover:text-text-secondary focus-visible:opacity-100',
)}
>