mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	add canvas-note-type at some missing places after rebase
This commit is contained in:
		| @@ -32,7 +32,7 @@ export default class NoteWrapperWidget extends FlexContainer { | ||||
|  | ||||
|     refresh(noteContext) { | ||||
|         this.$widget.toggleClass("full-content-width", | ||||
|             ['image', 'mermaid', 'book', 'render'].includes(noteContext?.note?.type) | ||||
|             ['image', 'mermaid', 'book', 'render', 'canvas-note'].includes(noteContext?.note?.type) | ||||
|             || !!noteContext?.note?.hasLabel('fullContentWidth') | ||||
|         ); | ||||
|     } | ||||
|   | ||||
| @@ -8,5 +8,6 @@ module.exports = [ | ||||
|     'relation-map',  | ||||
|     'book',  | ||||
|     'note-map', | ||||
|     'mermaid' | ||||
|     'mermaid', | ||||
|     'canvas-note' | ||||
| ]; | ||||
		Reference in New Issue
	
	Block a user