mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-05-12 23:23:20 +08:00
fix(prompts): unify add button style with other panels
Replace circular orange icon button with ghost text button to match Skills and MCP panel styling.
This commit is contained in:
+5
-4
@@ -631,12 +631,13 @@ function App() {
|
||||
>
|
||||
{currentView === "prompts" && (
|
||||
<Button
|
||||
size="icon"
|
||||
variant="ghost"
|
||||
size="sm"
|
||||
onClick={() => promptPanelRef.current?.openAdd()}
|
||||
className={`ml-auto ${addActionButtonClass}`}
|
||||
title={t("prompts.add")}
|
||||
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("prompts.add")}
|
||||
</Button>
|
||||
)}
|
||||
{currentView === "mcp" && (
|
||||
|
||||
Reference in New Issue
Block a user