From b730d6070460dbd7b0c82dc347f9d1f9b340c4c8 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sun, 1 Dec 2024 17:25:19 +0200 Subject: [PATCH] feat(client): always display mind map as full content width --- src/public/app/widgets/note_wrapper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/public/app/widgets/note_wrapper.js b/src/public/app/widgets/note_wrapper.js index 91e9ff3cf..424cb6da7 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') );