Fix overflowing mcp server name

This commit is contained in:
Saoud Rizwan 2025-02-17 20:34:29 -08:00
parent e587115d62
commit 95acb1e95c

View file

@ -280,7 +280,7 @@ const ServerRow = ({ server }: { server: McpServer }) => {
{!server.error && (
<span className={`codicon codicon-chevron-${isExpanded ? "down" : "right"}`} style={{ marginRight: "8px" }} />
)}
<span style={{ flex: 1 }}>{server.name}</span>
<span style={{ flex: 1, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }}>{server.name}</span>
<div style={{ display: "flex", alignItems: "center", marginRight: "8px" }} onClick={(e) => e.stopPropagation()}>
<div
role="switch"