mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 14:25:51 +01: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