fix(mcp): unify header buttons style with skills panel

Changed MCP panel buttons to match Skills panel styling:
- Replace circular orange icon button with ghost text button
- Update button labels: "Import" → "Import Existing", add "Add MCP"
This commit is contained in:
Jason
2026-01-03 10:11:26 +08:00
parent 86e802bd4b
commit ba97a5f373
4 changed files with 12 additions and 5 deletions
+6 -5
View File
@@ -648,15 +648,16 @@ function App() {
className="hover:bg-black/5 dark:hover:bg-white/5"
>
<Download className="w-4 h-4 mr-2" />
{t("mcp.import")}
{t("mcp.importExisting")}
</Button>
<Button
size="icon"
variant="ghost"
size="sm"
onClick={() => mcpPanelRef.current?.openAdd()}
className={`ml-auto ${addActionButtonClass}`}
title={t("mcp.unifiedPanel.addServer")}
className="hover:bg-black/5 dark:hover:bg-white/5"
>
<Plus className="w-5 h-5" />
<Plus className="w-4 h-4 mr-2" />
{t("mcp.addMcp")}
</Button>
</>
)}