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/assigner/panel.tsx | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/app/components/workflow/nodes/assigner/panel.tsx b/app/components/workflow/nodes/assigner/panel.tsx
index 430f1ae..a470d94 100644
--- a/app/components/workflow/nodes/assigner/panel.tsx
+++ b/app/components/workflow/nodes/assigner/panel.tsx
@@ -7,9 +7,9 @@
import VarList from './components/var-list'
import useConfig from './use-config'
import type { AssignerNodeType } from './types'
-import type { NodePanelProps } from '@/app/components/workflow/types'
import { useHandleAddOperationItem } from './hooks'
import ActionButton from '@/app/components/base/action-button'
+import { type NodePanelProps } from '@/app/components/workflow/types'
const i18nPrefix = 'workflow.nodes.assigner'
@@ -37,12 +37,12 @@
}
return (
- <div className='flex flex-col items-start self-stretch py-2'>
- <div className='flex w-full flex-col items-start justify-center gap-1 self-stretch px-4 py-2'>
+ <div className='flex py-2 flex-col items-start self-stretch'>
+ <div className='flex flex-col justify-center items-start gap-1 px-4 py-2 w-full self-stretch'>
<div className='flex items-start gap-2 self-stretch'>
- <div className='system-sm-semibold-uppercase flex grow flex-col items-start justify-center text-text-secondary'>{t(`${i18nPrefix}.variables`)}</div>
+ <div className='flex flex-col justify-center items-start flex-grow text-text-secondary system-sm-semibold-uppercase'>{t(`${i18nPrefix}.variables`)}</div>
<ActionButton onClick={handleAddOperation}>
- <RiAddLine className='h-4 w-4 shrink-0 text-text-tertiary' />
+ <RiAddLine className='w-4 h-4 shrink-0 text-text-tertiary' />
</ActionButton>
</div>
<VarList
--
Gitblit v1.8.0