From b7d9987953360d9c589149077625f1fb8aad8280 Mon Sep 17 00:00:00 2001 From: AkaraChen Date: Tue, 26 Nov 2024 14:48:49 +0800 Subject: [PATCH] chore: align design token --- .../datasets/create/step-two/index.tsx | 34 ++++++++++--------- .../datasets/create/step-two/option-card.tsx | 2 +- 2 files changed, 19 insertions(+), 17 deletions(-) diff --git a/web/app/components/datasets/create/step-two/index.tsx b/web/app/components/datasets/create/step-two/index.tsx index dc5258e509..fb2c47ca89 100644 --- a/web/app/components/datasets/create/step-two/index.tsx +++ b/web/app/components/datasets/create/step-two/index.tsx @@ -666,7 +666,7 @@ const StepTwo = ({ } >
-
+
setSegmentIdentifier(e.target.value)} @@ -775,11 +775,11 @@ const StepTwo = ({ />
-
+
{t('datasetCreation.stepTwo.childChunkForRetrieval')} -
+
setParentChildConfig({ @@ -803,20 +803,22 @@ const StepTwo = ({ />
- - {t('datasetCreation.stepTwo.rules')} -
- {rules.map(rule => ( -
{ - ruleChangeHandle(rule.id) - }}> - - -
- ))} + + {t('datasetCreation.stepTwo.rules')} + +
+ {rules.map(rule => ( +
{ + ruleChangeHandle(rule.id) + }}> + + +
+ ))} +
diff --git a/web/app/components/datasets/create/step-two/option-card.tsx b/web/app/components/datasets/create/step-two/option-card.tsx index 5aa398f0f2..da0486d204 100644 --- a/web/app/components/datasets/create/step-two/option-card.tsx +++ b/web/app/components/datasets/create/step-two/option-card.tsx @@ -75,7 +75,7 @@ export const OptionCard: FC = (props) => { /> {/** Body */} {isActive &&
{children} - {actions &&
+ {actions &&
{actions}
}
}