This commit is contained in:
roomote-v0[bot] 2026-04-08 17:36:20 +00:00 • committed by GitHub
commit 145e3287fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -267,24 +267,33 @@ const ServerRow = ({ server, alwaysAllowMcp }: { server: McpServer; alwaysAllowM
style={{ marginRight: "8px" }} style={{ marginRight: "8px" }}
/> />
)} )}
<span style={{ flex: 1 }}> <StandardTooltip content={server.name}>
{server.name} <span
{server.source && ( style={{
<span flex: 1,
style={{ overflow: "hidden",
marginLeft: "8px", textOverflow: "ellipsis",
padding: "1px 6px", whiteSpace: "nowrap",
fontSize: "11px", minWidth: 0,
borderRadius: "4px", }}>
background: "var(--vscode-badge-background)", {server.name}
color: "var(--vscode-badge-foreground)", {server.source && (
}}> <span
{server.source} style={{
</span> marginLeft: "8px",
)} padding: "1px 6px",
</span> fontSize: "11px",
borderRadius: "4px",
background: "var(--vscode-badge-background)",
color: "var(--vscode-badge-foreground)",
}}>
{server.source}
</span>
)}
</span>
</StandardTooltip>
<div <div
style={{ display: "flex", alignItems: "center", marginRight: "8px" }} style={{ display: "flex", alignItems: "center", marginRight: "8px", flexShrink: 0 }}
onClick={(e) => e.stopPropagation()}> onClick={(e) => e.stopPropagation()}>
<Button <Button
variant="ghost" variant="ghost"