From 175f5fe6af9482fcf25157981a2abe8a63040a5f Mon Sep 17 00:00:00 2001 From: AkaraChen Date: Tue, 17 Dec 2024 14:12:34 +0800 Subject: [PATCH] fix: input number width & default value for child delimiter --- web/app/components/base/param-item/index.tsx | 2 +- web/app/components/datasets/create/step-two/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/app/components/base/param-item/index.tsx b/web/app/components/base/param-item/index.tsx index add9be2280..5c63a39d5a 100644 --- a/web/app/components/base/param-item/index.tsx +++ b/web/app/components/base/param-item/index.tsx @@ -59,7 +59,7 @@ const ParamItem: FC = ({ className, id, name, noTooltip, tip, step = 0.1, onChange={(value) => { onChange(id, value) }} - className='w-8' + className='w-[72px]' />
diff --git a/web/app/components/datasets/create/step-two/index.tsx b/web/app/components/datasets/create/step-two/index.tsx index 7f3b7520b5..81fe80f67d 100644 --- a/web/app/components/datasets/create/step-two/index.tsx +++ b/web/app/components/datasets/create/step-two/index.tsx @@ -121,7 +121,7 @@ const defaultParentChildConfig: ParentChildConfig = { maxLength: 500, }, child: { - delimiter: '\\n\\n', + delimiter: '\\n', maxLength: 200, }, }