fix: some filed in model param selector has no left spacing (#4803)

This commit is contained in:
Joel
2024-05-30 14:49:41 +08:00
committed by GitHub
parent 5b2cd8d03a
commit 11f173693b
2 changed files with 6 additions and 6 deletions

View File

@@ -70,7 +70,7 @@ const TagInput: FC<TagInputProps> = ({
return (
<div className={cn('flex flex-wrap', !isInWorkflow && 'min-w-[200px]', isSpecialMode ? 'bg-gray-100 rounded-lg pb-1 pl-1' : '')}>
{
items.map((item, index) => (
(items || []).map((item, index) => (
<div
key={item}
className={cn('flex items-center mr-1 mt-1 px-2 py-1 text-sm text-gray-700 border border-gray-200', isSpecialMode ? 'bg-white rounded-md' : 'rounded-lg')}>