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: Notion sync empty state width in knowledge creation (#38321)

非法操作3d10f6c51087
diff --git a/web/app/components/datasets/create/step-one/index.tsx b/web/app/components/datasets/create/step-one/index.tsx
index 3b57390cce5..2001ac2de42 100644
--- a/web/app/components/datasets/create/step-one/index.tsx
+++ b/web/app/components/datasets/create/step-one/index.tsx
@@ -218,7 +218,11 @@ const StepOne = ({
{/* Notion Data Source */}
{dataSourceType === DataSourceType.NOTION && (
<>
- {!isNotionAuthed && <NotionConnector onSetting={onSetting} />}
+ {!isNotionAuthed && (
+ <div className={cn('mb-8 w-[640px]', !shouldShowDataSourceTypeList && 'mt-12')}>
+ <NotionConnector onSetting={onSetting} />
+ </div>
+ )}
{isNotionAuthed && (
<>
<div className="mb-8 w-[640px]">