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/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