ソースを参照

fix: Jinja switch not aligned in vertical direction (#4374)

tags/0.6.9
Joel 1年前
コミット
66c8070da8
コミッターのメールアドレスに関連付けられたアカウントが存在しません

+ 1
- 1
web/app/components/workflow/nodes/_base/components/prompt/editor.tsx ファイルの表示

@@ -130,7 +130,7 @@ const Editor: FC<Props> = ({
}
hideArrow
>
<div className={cn(editionType === EditionType.jinja2 && 'border-black/5 bg-white', 'mb-1 flex h-[22px] items-center px-1.5 rounded-[5px] border border-transparent hover:border-black/5 space-x-0.5')}>
<div className={cn(editionType === EditionType.jinja2 && 'border-black/5 bg-white', 'flex h-[22px] items-center px-1.5 rounded-[5px] border border-transparent hover:border-black/5 space-x-0.5')}>
<Jinja className='w-6 h-3 text-gray-300' />
<Switch
size='sm'

+ 1
- 1
web/app/components/workflow/nodes/llm/components/config-prompt.tsx ファイルの表示

@@ -167,7 +167,7 @@ const ConfigPrompt: FC<Props> = ({
return true
})()
return (
<div key={item.id} className='relative group'>
<div key={item.id || index} className='relative group'>
{canDrag && <DragHandle className='group-hover:block hidden absolute left-[-14px] top-2 w-3.5 h-3.5 text-gray-400' />}
<ConfigPromptItem
className={cn(canDrag && 'handle')}

読み込み中…
キャンセル
保存