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/datasets/documents/detail/completed/child-segment-list.tsx | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/components/datasets/documents/detail/completed/child-segment-list.tsx b/app/components/datasets/documents/detail/completed/child-segment-list.tsx index be5fc8b..1615ea9 100644 --- a/app/components/datasets/documents/detail/completed/child-segment-list.tsx +++ b/app/components/datasets/documents/detail/completed/child-segment-list.tsx @@ -94,7 +94,7 @@ isParagraphMode ? 'pt-1 pb-2' : 'px-3 grow', (isFullDocMode && isLoading) && 'overflow-y-hidden', )}> - {isFullDocMode ? <Divider type='horizontal' className='my-1 h-[1px] bg-divider-subtle' /> : null} + {isFullDocMode ? <Divider type='horizontal' className='h-[1px] bg-divider-subtle my-1' /> : null} <div className={classNames('flex items-center justify-between', isFullDocMode ? 'pt-2 pb-3 sticky -top-2 left-0 bg-background-default' : '')}> <div className={classNames( 'h-7 flex items-center pl-1 pr-3 rounded-lg', @@ -111,12 +111,12 @@ isParagraphMode ? collapsed ? ( - <RiArrowRightSLine className='mr-0.5 h-4 w-4 text-text-secondary opacity-50' /> + <RiArrowRightSLine className='w-4 h-4 text-text-secondary opacity-50 mr-0.5' /> ) - : (<RiArrowDownSLine className='mr-0.5 h-4 w-4 text-text-secondary' />) + : (<RiArrowDownSLine className='w-4 h-4 text-text-secondary mr-0.5' />) : null } - <span className='system-sm-semibold-uppercase text-text-secondary'>{totalText}</span> + <span className='text-text-secondary system-sm-semibold-uppercase'>{totalText}</span> <span className={classNames('text-text-quaternary text-xs font-medium pl-1.5', isParagraphMode ? 'hidden group-hover/card:inline-block' : '')}>路</span> <button type='button' @@ -150,7 +150,7 @@ ? <div className={classNames('flex gap-x-0.5', isFullDocMode ? 'grow mb-6' : 'items-center')}> {isParagraphMode && ( <div className='self-stretch'> - <Divider type='vertical' className='mx-[7px] w-[2px] bg-text-accent-secondary' /> + <Divider type='vertical' className='w-[2px] mx-[7px] bg-text-accent-secondary' /> </div> )} {childChunks.length > 0 @@ -165,7 +165,7 @@ onDelete={() => onDelete?.(childChunk.segment_id, childChunk.id)} labelClassName={focused ? 'bg-state-accent-solid text-text-primary-on-surface' : ''} labelInnerClassName={'text-[10px] font-semibold align-bottom leading-6'} - contentClassName={classNames('!leading-6', focused ? 'bg-state-accent-hover-alt text-text-primary' : 'text-text-secondary')} + contentClassName={classNames('!leading-6', focused ? 'bg-state-accent-hover-alt text-text-primary' : '')} showDivider={false} onClick={(e) => { e.stopPropagation() -- Gitblit v1.8.0