mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 15:11:31 +08:00 
			
		
		
		
	note map fixes
This commit is contained in:
		
							parent
							
								
									1d8b02055e
								
							
						
					
					
						commit
						f1eaa20e47
					
				@ -866,6 +866,11 @@ class Note extends AbstractEntity {
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        function addSubtreeNotesInner(note, parentNote = null) {
 | 
					        function addSubtreeNotesInner(note, parentNote = null) {
 | 
				
			||||||
 | 
					            // share can be removed after 0.57 since it will be put under hidden
 | 
				
			||||||
 | 
					            if (note.noteId === 'hidden' || note.noteId === 'share') {
 | 
				
			||||||
 | 
					                return;
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if (parentNote) {
 | 
					            if (parentNote) {
 | 
				
			||||||
                // this needs to happen first before noteSet check to include all clone relationships
 | 
					                // this needs to happen first before noteSet check to include all clone relationships
 | 
				
			||||||
                relationships.push({
 | 
					                relationships.push({
 | 
				
			||||||
 | 
				
			|||||||
@ -149,6 +149,7 @@ export default class DesktopLayout {
 | 
				
			|||||||
                            new NoteWrapperWidget()
 | 
					                            new NoteWrapperWidget()
 | 
				
			||||||
                                .child(new FlexContainer('row').class('title-row')
 | 
					                                .child(new FlexContainer('row').class('title-row')
 | 
				
			||||||
                                    .css("height", "50px")
 | 
					                                    .css("height", "50px")
 | 
				
			||||||
 | 
					                                    .css("min-height", "50px")
 | 
				
			||||||
                                    .css('align-items', "center")
 | 
					                                    .css('align-items', "center")
 | 
				
			||||||
                                    .cssBlock('.title-row > * { margin: 5px; }')
 | 
					                                    .cssBlock('.title-row > * { margin: 5px; }')
 | 
				
			||||||
                                    .child(new NoteIconWidget())
 | 
					                                    .child(new NoteIconWidget())
 | 
				
			||||||
 | 
				
			|||||||
@ -16,7 +16,6 @@ const TPL = `
 | 
				
			|||||||
            position: absolute;
 | 
					            position: absolute;
 | 
				
			||||||
            right: 5px;
 | 
					            right: 5px;
 | 
				
			||||||
            bottom: 5px;
 | 
					            bottom: 5px;
 | 
				
			||||||
            font-size: 180%;
 | 
					 | 
				
			||||||
            z-index: 1000;
 | 
					            z-index: 1000;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user