mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-02-05 13:19:51 -06:00
Fix rendering width
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user