mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-05 18:34:39 +03:00
Merge pull request #6204 from kevinkucharczyk/unable-to-remove-small-background-image
Fix hidden delete button in image uploader for short images
This commit is contained in:
commit
53cdb4398b
@ -33,7 +33,6 @@ let UploadUi = function ($dropzone, settings) {
|
||||
let animateDropzone = ($img) => {
|
||||
$dropzone.animate({opacity: 0}, 250, () => {
|
||||
$dropzone.removeClass('image-uploader').addClass('pre-image-uploader');
|
||||
$dropzone.css({minHeight: 0});
|
||||
this.removeExtras();
|
||||
$dropzone.animate({height: $img.height()}, 250, () => {
|
||||
showImage($img.width(), $img.height());
|
||||
|
Loading…
Reference in New Issue
Block a user