From 66f66fe08ea8ebaa3d8561746b14b29b787e4c8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=A2=E5=A5=8B=E7=8C=AB?= Date: Sun, 9 Nov 2025 17:50:41 +0800 Subject: [PATCH] fix: prevent MCP card description text from overflowing dialog width (#11203) * fix: prevent MCP card description text from overflowing dialog width Add whitespace-pre-wrap and break-all classes to the MCP server description text in Agent Settings to ensure long descriptions wrap properly within the dialog bounds instead of causing layout overflow issues. Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude * feat: display MCP server logo in Agent Settings tooling section Add logo display support for MCP servers in the Agent Settings tooling section. When a server has a logoUrl defined, it will now be shown next to the server name as a 20x20px rounded image, matching the design pattern used in MCPSettings. Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --------- Co-authored-by: Claude --- .../AgentSettings/ToolingSettings.tsx | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/src/renderer/src/pages/settings/AgentSettings/ToolingSettings.tsx b/src/renderer/src/pages/settings/AgentSettings/ToolingSettings.tsx index e353799c5b..40dc2249a6 100644 --- a/src/renderer/src/pages/settings/AgentSettings/ToolingSettings.tsx +++ b/src/renderer/src/pages/settings/AgentSettings/ToolingSettings.tsx @@ -459,11 +459,22 @@ export const ToolingSettings: FC = ({ agentBase, upda key={server.id} className="border border-default-200" title={ -
-
- {server.name} +
+
+
+ {server.logoUrl && ( + {`${server.name} + )} + {server.name} +
{server.description ? ( - {server.description} + + {server.description} + ) : null}