0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Fix hidden delete button in image uploader for short images

closes #6194
- removed min-height animation from image uploader
This commit is contained in:
Kevin P. Kucharczyk 2015-12-10 18:43:27 +01:00
parent bbbcf4f57e
commit ff2711af30

View file

@ -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());