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/workflow/nodes/_base/components/remove-button.tsx |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/app/components/workflow/nodes/_base/components/remove-button.tsx b/app/components/workflow/nodes/_base/components/remove-button.tsx
index 62381f8..70b268e 100644
--- a/app/components/workflow/nodes/_base/components/remove-button.tsx
+++ b/app/components/workflow/nodes/_base/components/remove-button.tsx
@@ -2,7 +2,7 @@
 import type { FC } from 'react'
 import React from 'react'
 import { RiDeleteBinLine } from '@remixicon/react'
-import ActionButton from '@/app/components/base/action-button'
+import cn from '@/utils/classnames'
 
 type Props = {
   className?: string
@@ -10,12 +10,16 @@
 }
 
 const Remove: FC<Props> = ({
+  className,
   onClick,
 }) => {
   return (
-    <ActionButton size='l' className='group shrink-0 hover:!bg-state-destructive-hover' onClick={onClick}>
-      <RiDeleteBinLine className='h-4 w-4 text-text-tertiary group-hover:text-text-destructive' />
-    </ActionButton>
+    <div
+      className={cn(className, 'p-1 cursor-pointer rounded-md hover:bg-black/5 text-gray-500 hover:text-gray-800')}
+      onClick={onClick}
+    >
+      <RiDeleteBinLine className='w-4 h-4' />
+    </div>
   )
 }
 export default React.memo(Remove)

--
Gitblit v1.8.0