Skip to content

Build your personal knowledge base with Trilium Notes

feat(client): always display mind map as full content width

Elian Doranb730d6070460
diff --git a/src/public/app/widgets/note_wrapper.js b/src/public/app/widgets/note_wrapper.js
index 91e9ff3cf5..424cb6da73 100644
--- a/src/public/app/widgets/note_wrapper.js
+++ b/src/public/app/widgets/note_wrapper.js
@@ -43,7 +43,7 @@ export default class NoteWrapperWidget extends FlexContainer {
}
this.$widget.toggleClass("full-content-width",
- ['image', 'mermaid', 'book', 'render', 'canvas', 'webView'].includes(note.type)
+ ['image', 'mermaid', 'book', 'render', 'canvas', 'webView', 'mindMap'].includes(note.type)
|| !!note?.isLabelTruthy('fullContentWidth')
);