Streamfield: remove plus icon from button, adjust X icon color

This commit is contained in:
Alex Gleason 2023-04-04 13:42:15 -05:00
parent 21af38c13d
commit 880e63f2ec
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -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'