feat: ifelse condition variable editable after selection (#11431)
This commit is contained in:
parent
6c60ecb237
commit
32f8a98cf8
5 changed files with 81 additions and 6 deletions
|
|
@ -72,7 +72,7 @@ const VariableTag = ({
|
|||
{isEnv && <Env className='shrink-0 mr-0.5 w-3.5 h-3.5 text-util-colors-violet-violet-600' />}
|
||||
{isChatVar && <BubbleX className='w-3.5 h-3.5 text-util-colors-teal-teal-700' />}
|
||||
<div
|
||||
className={cn('truncate text-text-accent font-medium', (isEnv || isChatVar) && 'text-text-secondary')}
|
||||
className={cn('truncate ml-0.5 text-text-accent font-medium', (isEnv || isChatVar) && 'text-text-secondary')}
|
||||
title={variableName}
|
||||
>
|
||||
{variableName}
|
||||
|
|
|
|||
|
|
@ -274,7 +274,7 @@ const VarReferenceVars: FC<Props> = ({
|
|||
{
|
||||
!hideSearch && (
|
||||
<>
|
||||
<div className={cn('mb-2 mx-1', searchBoxClassName)} onClick={e => e.stopPropagation()}>
|
||||
<div className={cn('mb-1 mx-2 mt-2', searchBoxClassName)} onClick={e => e.stopPropagation()}>
|
||||
<Input
|
||||
showLeftIcon
|
||||
showClearIcon
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue