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/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