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
optimized canvas placement in trilium
Tom12185fbd3203
diff --git a/src/public/app/widgets/type_widgets/canvas_note.js b/src/public/app/widgets/type_widgets/canvas_note.jsindex 9aa95cb38f..098112172c 100644--- a/src/public/app/widgets/type_widgets/canvas_note.js+++ b/src/public/app/widgets/type_widgets/canvas_note.js@@ -6,9 +6,8 @@ const TPL = `<divid="parentContainer"class="note-detail-canvas-note note-detail-printable"- style="overflow:auto; width: 100%; height: 400px; background-color: rgba(255,248,230,0.58); border: 1px double #efefef;"+ style="overflow:auto; width: 100%; height: 500px; background-color: rgba(255,248,230,0.58); border: 1px double #efefef;">- <h1>Excalidraw Embed Example asdf</h1><div id="app" style="width:100%; height: 100%"></div></div><style type="text/css">@@ -26,8 +25,7 @@ const TPL = `}.excalidraw-wrapper {- height: 800px;- margin: 50px;+ height: 100%;position: relative;}