mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-08-04 14:57:42 +00:00
✂️ 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:
parent
9cf805c79f
commit
7181958643
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue