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/features/new-feature-panel/annotation-reply/score-slider/base-slider/index.tsx | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/components/base/features/new-feature-panel/annotation-reply/score-slider/base-slider/index.tsx b/app/components/base/features/new-feature-panel/annotation-reply/score-slider/base-slider/index.tsx index cc8e125..1df7253 100644 --- a/app/components/base/features/new-feature-panel/annotation-reply/score-slider/base-slider/index.tsx +++ b/app/components/base/features/new-feature-panel/annotation-reply/score-slider/base-slider/index.tsx @@ -20,13 +20,13 @@ max={max || 100} step={step || 1} className={cn(className, s.slider)} - thumbClassName={cn(s['slider-thumb'], 'top-[-7px] h-[18px] w-2 cursor-pointer rounded-[36px] border !border-black/8 bg-white shadow-md')} + thumbClassName={cn(s['slider-thumb'], 'top-[-7px] w-2 h-[18px] bg-white border !border-black/8 rounded-[36px] shadow-md cursor-pointer')} trackClassName={s['slider-track']} onChange={onChange} renderThumb={(props, state) => ( <div {...props}> - <div className='relative h-full w-full'> - <div className='system-sm-semibold absolute left-[50%] top-[-16px] translate-x-[-50%] text-text-primary'> + <div className='relative w-full h-full'> + <div className='absolute top-[-16px] left-[50%] translate-x-[-50%] system-sm-semibold text-text-primary'> {(state.valueNow / 100).toFixed(2)} </div> </div> -- Gitblit v1.8.0