mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	add scrolling margins, #1181
This commit is contained in:
		| @@ -307,6 +307,10 @@ export default class NoteTreeWidget extends TabAwareWidget { | ||||
|             keyboard: false, // we takover keyboard handling in the hotkeys plugin | ||||
|             extensions: utils.isMobile() ? ["dnd5", "clones"] : ["hotkeys", "dnd5", "clones"], | ||||
|             source: treeData, | ||||
|             scrollOfs: { | ||||
|                 top: 200, | ||||
|                 bottom: 200 | ||||
|             }, | ||||
|             scrollParent: this.$tree, | ||||
|             minExpandLevel: 2, // root can't be collapsed | ||||
|             click: (event, data) => { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user