mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Fixed delete button bug on image upload comp.
refs. https://github.com/TryGhost/Team/issues/3318
This commit is contained in:
parent
d9b3eb7817
commit
499ba64e00
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ const ImageUpload: React.FC<ImageUploadProps> = ({
|
|||
height: height,
|
||||
backgroundImage: `url(${imageURL})`
|
||||
}}>
|
||||
<button className='absolute right-4 top-4 hidden h-8 w-8 cursor-pointer items-center justify-center rounded bg-[rgba(0,0,0,0.75)] text-white hover:bg-black group-hover:flex' type='button' onClick={onDelete}>
|
||||
<button className='invisible absolute right-4 top-4 flex h-8 w-8 cursor-pointer items-center justify-center rounded bg-[rgba(0,0,0,0.75)] text-white hover:bg-black group-hover:!visible' type='button' onClick={onDelete}>
|
||||
<Icon color='white' name='trash' size='sm' />
|
||||
</button>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue