mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-18 08:13:40 +08:00
feat(client): always display mind map as full content width
This commit is contained in:
parent
061a5be362
commit
b730d60704
@ -43,7 +43,7 @@ export default class NoteWrapperWidget extends FlexContainer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.$widget.toggleClass("full-content-width",
|
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')
|
|| !!note?.isLabelTruthy('fullContentWidth')
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user