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/hit-testing/components/child-chunks-item.tsx | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/components/datasets/hit-testing/components/child-chunks-item.tsx b/app/components/datasets/hit-testing/components/child-chunks-item.tsx index 3ccd638..3c01e3d 100644 --- a/app/components/datasets/hit-testing/components/child-chunks-item.tsx +++ b/app/components/datasets/hit-testing/components/child-chunks-item.tsx @@ -14,16 +14,16 @@ payload, isShowAll, }) => { - const { score, content, position } = payload + const { id, score, content, position } = payload return ( <div className={!isShowAll ? 'line-clamp-2 break-all' : ''} > - <div className='relative top-[-2px] inline-flex items-center'> - <div className='system-2xs-semibold-uppercase flex h-[20.5px] items-center bg-state-accent-solid px-1 text-text-primary-on-surface'>C-{position}</div> + <div className='inline-flex items-center relative top-[-2px]'> + <div className='flex items-center h-[20.5px] bg-state-accent-solid system-2xs-semibold-uppercase text-text-primary-on-surface px-1'>C-{position}</div> <Score value={score} besideChunkName /> </div> - <SliceContent className='bg-state-accent-hover py-0.5 text-sm font-normal text-text-secondary group-hover:bg-state-accent-hover'>{content}</SliceContent> + <SliceContent className='py-0.5 bg-state-accent-hover group-hover:bg-state-accent-hover text-sm text-text-secondary font-normal'>{content}</SliceContent> </div> ) } -- Gitblit v1.8.0