✂️ fix: Truncate Long MCP Server Titles In Builder Panel (#13321)

In SidePanel/MCPBuilder/MCPServerCard the server title was rendered in
a span carrying the Tailwind truncate utility. overflow: hidden does
not apply to inline boxes, so long server names overflowed their slot
and ran underneath the Edit, Reconnect, and Revoke icons.

The title now renders in a div so truncate actually clips with an
ellipsis. No other styling changes.
This commit is contained in:
Dustin Healy 2026-05-26 15:36:29 -07:00 committed by GitHub
parent 9cf805c79f
commit 7181958643
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -123,7 +123,7 @@ export default function MCPServerCard({
{/* Server Info */}
<div className="min-w-0 flex-1">
<span className="truncate text-sm font-medium text-text-primary">{displayName}</span>
<div className="truncate text-sm font-medium text-text-primary">{displayName}</div>
{description && <p className="truncate text-xs text-text-secondary">{description}</p>}
</div>