feat: refactor NodeConfigPanel and WorkflowNodeCard for improved readability and structure

This commit is contained in:
mlogclub
2026-06-28 12:42:03 +08:00
parent dc7fa2bd41
commit 4ac2dedf97
2 changed files with 62 additions and 46 deletions
@@ -39,11 +39,6 @@ export function WorkflowNodeCard({
<div className="truncate text-sm font-semibold leading-5 text-foreground">
{title}
</div>
<div className="mt-0.5 flex items-center gap-1.5">
<span className="min-w-0 truncate text-[11px] leading-4 text-muted-foreground">
{nodeType}
</span>
</div>
</div>
</div>
{spec?.description ? (