fix: Notion sync empty state width in knowledge creation (#38321)

This commit is contained in:
非法操作 2026-07-02 18:37:54 +08:00 committed by GitHub
parent 92618f5e20
commit 3d10f6c510
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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]">