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

This commit is contained in:
Elian Doran 2024-12-01 17:25:19 +02:00
parent 061a5be362
commit b730d60704

View File

@ -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')
);