mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 02:02:29 +08:00
Fix rendering width
This commit is contained in:
parent
ff0742cae3
commit
1527c7c9eb
@ -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';
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user