Fix image preview not resized correctly in the mediatag dialog

This commit is contained in:
yflory 2018-09-04 10:50:34 +02:00
parent ab07554d0b
commit 2f3576f90e
2 changed files with 1 additions and 4 deletions

View File

@ -59,9 +59,6 @@ body.cp-app-pad {
display: flex; display: flex;
border-style: solid; border-style: solid;
border-color: black; border-color: black;
&> * {
flex-shrink: 0;
}
} }
} }
} }

View File

@ -118,7 +118,7 @@ CKEDITOR.dialog.add('mediatag', function (editor) {
update(); update();
}); });
setTimeout(center); setTimeout(update);
}, },
onOk: function() { onOk: function() {
var dialog = this; var dialog = this;