|
@@ -49,7 +49,7 @@ const InputItem: FC<Props> = ({
|
|
}, [onRemove])
|
|
}, [onRemove])
|
|
|
|
|
|
return (
|
|
return (
|
|
- <div className={cn(className, 'hover:bg-gray-50 hover:cursor-text', 'relative flex h-full items-center')}>
|
|
|
|
|
|
+ <div className={cn(className, 'hover:bg-gray-50 hover:cursor-text', 'relative flex h-full')}>
|
|
{(!readOnly)
|
|
{(!readOnly)
|
|
? (
|
|
? (
|
|
<Input
|
|
<Input
|
|
@@ -63,6 +63,7 @@ const InputItem: FC<Props> = ({
|
|
onFocusChange={setIsFocus}
|
|
onFocusChange={setIsFocus}
|
|
placeholder={t('workflow.nodes.http.insertVarPlaceholder')!}
|
|
placeholder={t('workflow.nodes.http.insertVarPlaceholder')!}
|
|
placeholderClassName='!leading-[21px]'
|
|
placeholderClassName='!leading-[21px]'
|
|
|
|
+ promptMinHeightClassName='h-full'
|
|
/>
|
|
/>
|
|
)
|
|
)
|
|
: <div
|
|
: <div
|
|
@@ -81,6 +82,7 @@ const InputItem: FC<Props> = ({
|
|
onFocusChange={setIsFocus}
|
|
onFocusChange={setIsFocus}
|
|
placeholder={t('workflow.nodes.http.insertVarPlaceholder')!}
|
|
placeholder={t('workflow.nodes.http.insertVarPlaceholder')!}
|
|
placeholderClassName='!leading-[21px]'
|
|
placeholderClassName='!leading-[21px]'
|
|
|
|
+ promptMinHeightClassName='h-full'
|
|
/>
|
|
/>
|
|
)}
|
|
)}
|
|
|
|
|