fix: set a min-width so flexbox doesn't shrink our lil svg (#2075)

This commit is contained in:
Danny Brown 2020-10-01 22:09:03 -04:00 committed by GitHub
parent 4ae848761d
commit eb0130edfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,14 @@ const ThumbnailNoImage = ({
<span className="ml-4 text-base text-blue-300">{seriesDate}</span> <span className="ml-4 text-base text-blue-300">{seriesDate}</span>
</div> </div>
<div className="flex flex-row"> <div className="flex flex-row">
{canReject && <Icon name="old-trash" className="ml-4 w-3 text-red-500" onClick={onReject} />} {canReject && (
<Icon
name="old-trash"
style={{ minWidth: '12px' }}
className="w-3 ml-4 text-red-500"
onClick={onReject}
/>
)}
<div className="ml-4 text-base text-white break-all"> <div className="ml-4 text-base text-white break-all">
{description} {description}
</div> </div>