From bf12445960533e9eb43c90b18b2ac6338c66b324 Mon Sep 17 00:00:00 2001 From: yyh Date: Tue, 27 Jan 2026 00:14:25 +0800 Subject: [PATCH] fix(workflow): make FileTree and ArtifactsSection scroll independently The sidebar layout was broken when ArtifactsSection expanded - it would squeeze the FileTree and neither area could scroll. This restructures the layout so each section has its own scroll container with proper height constraints. --- .../skill/file-tree/artifacts-section.tsx | 74 ++++++++++--------- .../workflow/skill/file-tree/index.tsx | 60 +++++++-------- web/app/components/workflow/skill/main.tsx | 2 + web/app/components/workflow/skill/sidebar.tsx | 2 +- 4 files changed, 66 insertions(+), 72 deletions(-) diff --git a/web/app/components/workflow/skill/file-tree/artifacts-section.tsx b/web/app/components/workflow/skill/file-tree/artifacts-section.tsx index d58abc5208..e19004c92a 100644 --- a/web/app/components/workflow/skill/file-tree/artifacts-section.tsx +++ b/web/app/components/workflow/skill/file-tree/artifacts-section.tsx @@ -45,45 +45,47 @@ const ArtifactsSection: FC = ({ className }) => { const showSpinner = isLoading return ( -
-
-
- {showSpinner - ?