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/result-item-external.tsx | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/app/components/datasets/hit-testing/components/result-item-external.tsx b/app/components/datasets/hit-testing/components/result-item-external.tsx
index 2c793cd..000b56d 100644
--- a/app/components/datasets/hit-testing/components/result-item-external.tsx
+++ b/app/components/datasets/hit-testing/components/result-item-external.tsx
@@ -25,13 +25,13 @@
] = useBoolean(false)
return (
- <div className={cn('cursor-pointer rounded-xl bg-chat-bubble-bg pt-3 hover:shadow-lg')} onClick={showDetailModal}>
+ <div className={cn('pt-3 bg-chat-bubble-bg rounded-xl hover:shadow-lg cursor-pointer')} onClick={showDetailModal}>
{/* Meta info */}
<ResultItemMeta className='px-3' labelPrefix={'Chunk'} positionId={positionId} wordCount={content.length} score={score} />
{/* Main */}
<div className='mt-1 px-3'>
- <div className='body-md-regular line-clamp-2 break-all'>{content}</div>
+ <div className='line-clamp-2 body-md-regular break-all'>{content}</div>
</div>
{/* Foot */}
@@ -47,7 +47,7 @@
>
<div className='mt-4 flex-1'>
<ResultItemMeta labelPrefix={'Chunk'} positionId={positionId} wordCount={content.length} score={score} />
- <div className={cn('body-md-regular mt-2 break-all text-text-secondary', 'h-[min(539px,_80vh)] overflow-y-auto')}>
+ <div className={cn('mt-2 body-md-regular text-text-secondary break-all', 'h-[min(539px,_80vh)] overflow-y-auto')}>
{content}
</div>
</div>
--
Gitblit v1.8.0