From 7881fb4d2238d98fc7fc3cb7ee4db450d3eba0b7 Mon Sep 17 00:00:00 2001 From: AkaraChen Date: Fri, 22 Nov 2024 13:12:24 +0800 Subject: [PATCH] fix: layout overflow --- web/app/components/datasets/create/index.tsx | 2 +- web/app/components/datasets/create/step-two/index.tsx | 2 +- web/app/components/datasets/create/top-bar/index.tsx | 9 +++++---- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/web/app/components/datasets/create/index.tsx b/web/app/components/datasets/create/index.tsx index 9dc498bcae..c78fda6953 100644 --- a/web/app/components/datasets/create/index.tsx +++ b/web/app/components/datasets/create/index.tsx @@ -119,7 +119,7 @@ const DatasetUpdateForm = ({ datasetId }: DatasetUpdateFormProps) => { return (
-
+
+
{t('datasetCreation.stepTwo.segmentation')}
diff --git a/web/app/components/datasets/create/top-bar/index.tsx b/web/app/components/datasets/create/top-bar/index.tsx index 86260cce70..dc2604c45b 100644 --- a/web/app/components/datasets/create/top-bar/index.tsx +++ b/web/app/components/datasets/create/top-bar/index.tsx @@ -1,5 +1,6 @@ import type { FC } from 'react' import { RiArrowLeftLine } from '@remixicon/react' +import Link from 'next/link' import { Stepper, type StepperProps } from '../stepper' import classNames from '@/utils/classnames' @@ -10,12 +11,12 @@ export type TopbarProps = Pick & { export const Topbar: FC = (props) => { const { className, ...rest } = props return
-
+ -
+

Create Knowledge -

-
+

+