Fix rendering width

pull/1847/head
Sauli Anto 2019-10-04 18:45:32 +07:00
parent ff0742cae3
commit 1527c7c9eb
1 changed files with 1 additions and 1 deletions

@ -140,7 +140,7 @@ function moveAndScaleElement( parent, element ) {
// Scale parent element same as preview
const domRect = element.getBoundingClientRect();
// element.style.width = domRect.width + 'px';
parent.style.width = domRect.width + 'px';
parent.style.height = domRect.height + 'px';
}