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/feature-card.tsx | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/components/base/features/new-feature-panel/feature-card.tsx b/app/components/base/features/new-feature-panel/feature-card.tsx index c895ef1..341a693 100644 --- a/app/components/base/features/new-feature-panel/feature-card.tsx +++ b/app/components/base/features/new-feature-panel/feature-card.tsx @@ -32,26 +32,26 @@ }: Props) => { return ( <div - className='mb-1 rounded-xl border-l-[0.5px] border-t-[0.5px] border-effects-highlight bg-background-section-burn p-3' + className='mb-1 p-3 border-t-[0.5px] border-l-[0.5px] border-effects-highlight rounded-xl bg-background-section-burn' onMouseEnter={onMouseEnter} onMouseLeave={onMouseLeave} > <div className='mb-2 flex items-center gap-2'> {icon} - <div className='system-sm-semibold flex grow items-center text-text-secondary'> + <div className='grow flex items-center text-text-secondary system-sm-semibold'> {title} {tooltip && ( <Tooltip popupContent={tooltip} > - <div className='ml-0.5 p-px'><RiQuestionLine className='h-3.5 w-3.5 text-text-quaternary' /></div> + <div className='ml-0.5 p-px'><RiQuestionLine className='w-3.5 h-3.5 text-text-quaternary' /></div> </Tooltip> )} </div> <Switch disabled={disabled} className='shrink-0' onChange={state => onChange?.(state)} defaultValue={value} /> </div> {description && ( - <div className='system-xs-regular line-clamp-2 min-h-8 text-text-tertiary'>{description}</div> + <div className='min-h-8 text-text-tertiary system-xs-regular line-clamp-2'>{description}</div> )} {children} </div> -- Gitblit v1.8.0