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/start/node.tsx | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/components/workflow/nodes/start/node.tsx b/app/components/workflow/nodes/start/node.tsx index 7c02858..8a259ce 100644 --- a/app/components/workflow/nodes/start/node.tsx +++ b/app/components/workflow/nodes/start/node.tsx @@ -20,15 +20,15 @@ <div className='mb-1 px-3 py-1'> <div className='space-y-0.5'> {variables.map(variable => ( - <div key={variable.variable} className='flex h-6 items-center justify-between space-x-1 rounded-md bg-workflow-block-parma-bg px-1'> - <div className='flex w-0 grow items-center space-x-1'> - <Variable02 className='h-3.5 w-3.5 shrink-0 text-text-accent' /> - <span className='system-xs-regular w-0 grow truncate text-text-secondary'>{variable.variable}</span> + <div key={variable.variable} className='flex items-center h-6 justify-between bg-gray-100 rounded-md px-1 space-x-1 text-xs font-normal text-gray-700'> + <div className='w-0 grow flex items-center space-x-1'> + <Variable02 className='shrink-0 w-3.5 h-3.5 text-primary-500' /> + <span className='w-0 grow truncate text-xs font-normal text-gray-700'>{variable.variable}</span> </div> <div className='ml-1 flex items-center space-x-1'> - {variable.required && <span className='system-2xs-regular-uppercase text-text-tertiary'>{t(`${i18nPrefix}.required`)}</span>} - <InputVarTypeIcon type={variable.type} className='h-3 w-3 text-text-tertiary' /> + {variable.required && <span className='text-xs font-normal text-gray-500 uppercase'>{t(`${i18nPrefix}.required`)}</span>} + <InputVarTypeIcon type={variable.type} className='w-3 h-3 text-gray-500' /> </div> </div> ))} -- Gitblit v1.8.0