From 5d7a533ada8a97cd901120491c49c2fc4b4583ee Mon Sep 17 00:00:00 2001 From: twwu Date: Tue, 1 Jul 2025 17:46:41 +0800 Subject: [PATCH] fix: Improve layout by adding overflow handling in CreateFromPipeline and List components --- .../datasets/create-from-pipeline/index.tsx | 2 +- .../list/built-in-pipeline-list.tsx | 2 +- .../list/customized-list.tsx | 2 +- .../datasets/create-from-pipeline/list/index.tsx | 16 +++++++++------- 4 files changed, 12 insertions(+), 10 deletions(-) diff --git a/web/app/components/datasets/create-from-pipeline/index.tsx b/web/app/components/datasets/create-from-pipeline/index.tsx index 51f9b472fb..a72a0be94d 100644 --- a/web/app/components/datasets/create-from-pipeline/index.tsx +++ b/web/app/components/datasets/create-from-pipeline/index.tsx @@ -7,7 +7,7 @@ import Effect from '../../base/effect' const CreateFromPipeline = () => { return (
diff --git a/web/app/components/datasets/create-from-pipeline/list/built-in-pipeline-list.tsx b/web/app/components/datasets/create-from-pipeline/list/built-in-pipeline-list.tsx index 4866c41169..d46d3adea0 100644 --- a/web/app/components/datasets/create-from-pipeline/list/built-in-pipeline-list.tsx +++ b/web/app/components/datasets/create-from-pipeline/list/built-in-pipeline-list.tsx @@ -9,7 +9,7 @@ const BuiltInPipelineList = () => { return null return ( -
+
{list.map((pipeline, index) => ( { return null return ( -
+
{list.map((pipeline, index) => ( { }, []) return ( -
+
- { - activeTab === 'built-in' && - } - { - activeTab === 'customized' && - } +
+ { + activeTab === 'built-in' && + } + { + activeTab === 'customized' && + } +
) }