Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
Fix rendering width
Sauli Anto1527c7c9eb85
diff --git a/src/utils.js b/src/utils.jsindex 1fa97516cb..a4b5c412fd 100644--- a/src/utils.js+++ b/src/utils.js@@ -140,7 +140,7 @@ function moveAndScaleElement( parent, element ) {// Scale parent element same as previewconst domRect = element.getBoundingClientRect();- // element.style.width = domRect.width + 'px';+ parent.style.width = domRect.width + 'px';parent.style.height = domRect.height + 'px';}