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/external-api/external-knowledge-api-card/index.tsx |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/app/components/datasets/external-api/external-knowledge-api-card/index.tsx b/app/components/datasets/external-api/external-knowledge-api-card/index.tsx
index bb50631..603b4fe 100644
--- a/app/components/datasets/external-api/external-knowledge-api-card/index.tsx
+++ b/app/components/datasets/external-api/external-knowledge-api-card/index.tsx
@@ -105,20 +105,20 @@
 
   return (
     <>
-      <div className={`shadows-shadow-xs flex items-start self-stretch rounded-lg border-[0.5px] border-components-panel-border-subtle
-        bg-components-panel-on-panel-item-bg p-2
-        pl-3 ${isHovered ? 'border-state-destructive-border bg-state-destructive-hover' : ''}`}
+      <div className={`flex p-2 pl-3 items-start self-stretch rounded-lg border-[0.5px] 
+        border-components-panel-border-subtle bg-components-panel-on-panel-item-bg 
+        shadows-shadow-xs ${isHovered ? 'bg-state-destructive-hover border-state-destructive-border' : ''}`}
       >
-        <div className='flex grow flex-col items-start justify-center gap-1.5 py-1'>
+        <div className='flex py-1 flex-col justify-center items-start gap-1.5 flex-grow'>
           <div className='flex items-center gap-1 self-stretch text-text-secondary'>
-            <ApiConnectionMod className='h-4 w-4' />
+            <ApiConnectionMod className='w-4 h-4' />
             <div className='system-sm-medium'>{api.name}</div>
           </div>
-          <div className='system-xs-regular self-stretch text-text-tertiary'>{api.settings.endpoint}</div>
+          <div className='self-stretch text-text-tertiary system-xs-regular'>{api.settings.endpoint}</div>
         </div>
         <div className='flex items-start gap-1'>
           <ActionButton onClick={handleEditClick}>
-            <RiEditLine className='h-4 w-4 text-text-tertiary hover:text-text-secondary' />
+            <RiEditLine className='w-4 h-4 text-text-tertiary hover:text-text-secondary' />
           </ActionButton>
           <ActionButton
             className='hover:bg-state-destructive-hover'
@@ -126,7 +126,7 @@
             onMouseEnter={() => setIsHovered(true)}
             onMouseLeave={() => setIsHovered(false)}
           >
-            <RiDeleteBinLine className='h-4 w-4 text-text-tertiary hover:text-text-destructive' />
+            <RiDeleteBinLine className='w-4 h-4 text-text-tertiary hover:text-text-destructive' />
           </ActionButton>
         </div>
       </div>

--
Gitblit v1.8.0