From 926e3e6dc4f3ca4669fb920df245b2e390d9b014 Mon Sep 17 00:00:00 2001 From: mlogclub Date: Sun, 28 Jun 2026 19:48:37 +0800 Subject: [PATCH] feat: update styling of panels in WorkflowConfigPanel and ConditionBranchConfigPanel for improved UI consistency --- .../ai-workflows/_components/node-config-panel.tsx | 6 +++--- .../ai-workflows/_components/workflow-config-sidebar.tsx | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/web/app/dashboard/ai-workflows/_components/node-config-panel.tsx b/web/app/dashboard/ai-workflows/_components/node-config-panel.tsx index 5aeb684..b4d50df 100644 --- a/web/app/dashboard/ai-workflows/_components/node-config-panel.tsx +++ b/web/app/dashboard/ai-workflows/_components/node-config-panel.tsx @@ -248,7 +248,7 @@ export function ConditionBranchConfigPanel({ {branch.default ? ( -
+
默认分支不需要条件表达式,会在其他条件不匹配时执行。
) : ( @@ -309,7 +309,7 @@ function ConditionBranchesEditor({
{branches.map((branch) => { return ( -
+
{branch.default ? "ELSE" : "IF"} @@ -443,7 +443,7 @@ function ConfigCard({ children: ReactNode }) { return ( -
+
{title}
diff --git a/web/app/dashboard/ai-workflows/_components/workflow-config-sidebar.tsx b/web/app/dashboard/ai-workflows/_components/workflow-config-sidebar.tsx index 23e1903..0c022fd 100644 --- a/web/app/dashboard/ai-workflows/_components/workflow-config-sidebar.tsx +++ b/web/app/dashboard/ai-workflows/_components/workflow-config-sidebar.tsx @@ -124,9 +124,9 @@ export function WorkflowConfigPanel({ className="pointer-events-auto absolute inset-y-2 left-0 z-10 w-2 -translate-x-1 cursor-col-resize rounded-full after:absolute after:inset-y-2 after:left-1/2 after:w-px after:-translate-x-1/2 after:bg-transparent hover:after:bg-blue-300" onPointerDown={startResize} /> -
+
-
+