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:
Jason
2026-01-03 10:13:32 +08:00
parent ba97a5f373
commit 2c95f697cd
+5 -4
View File
@@ -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" && (