feat: remove var check in start node

This commit is contained in:
Joel
2024-03-22 15:09:53 +08:00
parent 817e16493f
commit 340ae3c52f
7 changed files with 87 additions and 12 deletions

View File

@ -88,10 +88,13 @@ const TagInput: FC<TagInputProps> = ({
!disableAdd && (
<AutosizeInput
inputClassName={cn('outline-none appearance-none placeholder:text-gray-300 caret-primary-600 hover:placeholder:text-gray-400', isSpecialMode ? 'bg-transparent' : '')}
className={`
mt-1 py-1 rounded-lg border border-transparent text-sm max-w-[300px] overflow-hidden
className={cn(
!isInWorkflow && 'max-w-[300px]',
isInWorkflow && 'max-w-[130px]',
`
mt-1 py-1 rounded-lg border border-transparent text-sm overflow-hidden
${focused && 'px-2 border !border-dashed !border-gray-200'}
`}
`)}
onFocus={() => setFocused(true)}
onBlur={handleBlur}
value={value}