From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +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