mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-06 02:47:56 +00:00
Merge e989cc0358 into eafed9705c
This commit is contained in:
commit
145e3287fb
1 changed files with 26 additions and 17 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue