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/workflow/nodes/http/components/key-value/key-value-edit/item.tsx | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/app/components/workflow/nodes/http/components/key-value/key-value-edit/item.tsx b/app/components/workflow/nodes/http/components/key-value/key-value-edit/item.tsx
index b2df1cb..75c6a77 100644
--- a/app/components/workflow/nodes/http/components/key-value/key-value-edit/item.tsx
+++ b/app/components/workflow/nodes/http/components/key-value/key-value-edit/item.tsx
@@ -62,7 +62,7 @@
return (
// group class name is for hover row show remove button
- <div className={cn(className, 'h-min-7 group flex border-t border-divider-regular')}>
+ <div className={cn(className, 'group flex h-min-7 border-t border-gray-200')}>
<div className={cn('shrink-0 border-r border-divider-regular', isSupportFile ? 'w-[140px]' : 'w-1/2')}>
{!keyNotSupportVar
? (
@@ -79,14 +79,14 @@
)
: (
<input
- className='system-sm-regular focus:bg-gray-100! appearance-none rounded-none border-none bg-transparent outline-none hover:bg-components-input-bg-hover focus:ring-0'
+ className='appearance-none outline-none rounded-none bg-white border-none system-sm-regular focus:ring-0 focus:bg-gray-100! hover:bg-gray-50'
value={payload.key}
onChange={e => handleChange('key')(e.target.value)}
/>
)}
</div>
{isSupportFile && (
- <div className='w-[70px] shrink-0 border-r border-divider-regular'>
+ <div className='shrink-0 w-[70px] border-r border-divider-regular'>
<PortalSelect
value={payload.type!}
onSelect={item => handleChange('type')(item.value as string)}
@@ -95,7 +95,7 @@
{ name: 'file', value: 'file' },
]}
readonly={readonly}
- triggerClassName='rounded-none h-7 text-text-primary'
+ triggerClassName='rounded-none h-7'
triggerClassNameFn={isOpen => isOpen ? 'bg-state-base-hover' : 'bg-transparent'}
popupClassName='w-[80px] h-7'
/>
--
Gitblit v1.8.0