Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix(web): fill dataset create layout height (#38308)

yyh6ec56e7bd1ea
diff --git a/web/app/components/datasets/create/index.tsx b/web/app/components/datasets/create/index.tsx
index 71d34e9649b..1f41f7b456c 100644
--- a/web/app/components/datasets/create/index.tsx
+++ b/web/app/components/datasets/create/index.tsx
@@ -131,9 +131,9 @@ const DatasetUpdateForm = ({ datasetId }: DatasetUpdateFormProps) => {
return <AppUnavailable code={500} unknownReason={t('error.unavailable', { ns: 'datasetCreation' }) as string} />
return (
- <div className="flex flex-col overflow-hidden bg-components-panel-bg" style={{ height: 'calc(100vh - 56px)' }}>
+ <div className="flex h-full min-h-0 flex-col overflow-hidden bg-components-panel-bg">
<TopBar activeIndex={step - 1} datasetId={datasetId} />
- <div style={{ height: 'calc(100% - 52px)' }}>
+ <div className="min-h-0 flex-1">
{
isLoadingAuthedDataSourceList && (
<Loading type="app" />