Streamfield: remove plus icon from button, adjust X icon color
This commit is contained in:
parent
21af38c13d
commit
880e63f2ec
1 changed files with 1 additions and 2 deletions
|
@ -76,7 +76,7 @@ const Streamfield: React.FC<IStreamfield> = ({
|
|||
{values.length > minItems && onRemoveItem && (
|
||||
<IconButton
|
||||
iconClassName='h-4 w-4'
|
||||
className='bg-transparent text-gray-400 hover:text-gray-600'
|
||||
className='bg-transparent text-gray-600 hover:text-gray-600'
|
||||
src={require('@tabler/icons/x.svg')}
|
||||
onClick={() => onRemoveItem(i)}
|
||||
title={intl.formatMessage(messages.remove)}
|
||||
|
@ -89,7 +89,6 @@ const Streamfield: React.FC<IStreamfield> = ({
|
|||
|
||||
{onAddItem && (
|
||||
<Button
|
||||
icon={require('@tabler/icons/plus.svg')}
|
||||
onClick={onAddItem}
|
||||
disabled={values.length >= maxItems}
|
||||
theme='secondary'
|
||||
|
|
Loading…
Reference in a new issue