feat: refactor workflow configuration components for improved structure and usability

This commit is contained in:
mlogclub
2026-06-27 22:40:27 +08:00
parent 1472c487ac
commit 0d568ebf87
4 changed files with 87 additions and 74 deletions
@@ -591,7 +591,11 @@ export function AIAgentConfigWorkbench({
</div>
</div>
<main className="min-h-0 flex-1 overflow-y-auto bg-background">
<main
className={`min-h-0 flex-1 bg-background ${
activeSection === "workflow" ? "overflow-hidden" : "overflow-y-auto"
}`}
>
{loading ? (
<div className="flex h-full items-center justify-center text-sm text-muted-foreground">
...