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/modify-external-retrieval-modal.tsx |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/app/components/datasets/hit-testing/modify-external-retrieval-modal.tsx b/app/components/datasets/hit-testing/modify-external-retrieval-modal.tsx
index db06dc0..fd99c69 100644
--- a/app/components/datasets/hit-testing/modify-external-retrieval-modal.tsx
+++ b/app/components/datasets/hit-testing/modify-external-retrieval-modal.tsx
@@ -42,16 +42,16 @@
   }
 
   return (
-    <div className='shadows-shadow-2xl absolute right-[14px] top-[36px] z-10 flex w-[320px] flex-col items-start rounded-2xl
-      border-[0.5px] border-components-panel-border bg-components-panel-bg'
+    <div className='absolute z-10 top-[36px] right-[14px] flex w-[320px] flex-col items-start rounded-2xl border-[0.5px]
+      border-components-panel-border bg-components-panel-bg shadows-shadow-2xl'
     >
-      <div className='flex items-center justify-between self-stretch p-4 pb-2'>
-        <div className='system-xl-semibold grow text-text-primary'>{t('datasetHitTesting.settingTitle')}</div>
+      <div className='flex p-4 pb-2 items-center justify-between self-stretch'>
+        <div className='text-text-primary system-xl-semibold flex-grow'>{t('datasetHitTesting.settingTitle')}</div>
         <ActionButton className='ml-auto' onClick={onClose}>
-          <RiCloseLine className='h-4 w-4 shrink-0' />
+          <RiCloseLine className='w-4 h-4 flex-shrink-0' />
         </ActionButton>
       </div>
-      <div className='flex flex-col items-start justify-center gap-4 self-stretch p-4 pt-2'>
+      <div className='flex p-4 pt-2 flex-col justify-center items-start gap-4 self-stretch'>
         <RetrievalSettings
           topK={topK}
           scoreThreshold={scoreThreshold}
@@ -60,9 +60,9 @@
           isInHitTesting={true}
         />
       </div>
-      <div className='flex w-full items-end justify-end gap-1 p-4 pt-2'>
-        <Button className='min-w-[72px] shrink-0' onClick={onClose}>{t('common.operation.cancel')}</Button>
-        <Button variant='primary' className='min-w-[72px] shrink-0' onClick={handleSave}>{t('common.operation.save')}</Button>
+      <div className='flex p-4 pt-2 justify-end items-end gap-1 w-full'>
+        <Button className='flex-shrink-0 min-w-[72px]' onClick={onClose}>{t('common.operation.cancel')}</Button>
+        <Button variant='primary' className='flex-shrink-0 min-w-[72px]' onClick={handleSave}>{t('common.operation.save')}</Button>
       </div>
     </div>
   )

--
Gitblit v1.8.0