Fix image preview not resized correctly in the mediatag dialog

pull/1/head
yflory 6 years ago
parent ab07554d0b
commit 2f3576f90e

@ -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;
}
} }
} }
} }

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

Loading…
Cancel
Save