From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001 From: wwf <yearningwang@iqtogether.com> Date: 星期三, 04 六月 2025 15:17:49 +0800 Subject: [PATCH] 初始化 --- app/components/base/param-item/index.tsx | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/app/components/base/param-item/index.tsx b/app/components/base/param-item/index.tsx index 03eb5a7..68c980a 100644 --- a/app/components/base/param-item/index.tsx +++ b/app/components/base/param-item/index.tsx @@ -25,7 +25,7 @@ return ( <div className={className}> <div className="flex items-center justify-between"> - <div className="flex h-6 items-center"> + <div className="flex items-center h-6"> {hasSwitch && ( <Switch size='md' @@ -36,7 +36,7 @@ }} /> )} - <span className="system-sm-semibold mr-1 text-text-secondary">{name}</span> + <span className="mr-1 text-text-secondary system-sm-semibold">{name}</span> {!noTooltip && ( <Tooltip triggerClassName='w-4 h-4 shrink-0' @@ -53,8 +53,7 @@ min={min} max={max} step={step} - amount={step} - size='regular' + size='sm' value={value} onChange={(value) => { onChange(id, value) @@ -62,7 +61,7 @@ className='w-[72px]' /> </div> - <div className="flex grow items-center"> + <div className="flex items-center grow"> <Slider className='w-full' disabled={!enable} -- Gitblit v1.8.0