mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	small tweaks
This commit is contained in:
		@@ -103,6 +103,7 @@ const RIGHT_PANE_CSS = `
 | 
				
			|||||||
    position: relative;
 | 
					    position: relative;
 | 
				
			||||||
    top: 2px;
 | 
					    top: 2px;
 | 
				
			||||||
    font-size: large;
 | 
					    font-size: large;
 | 
				
			||||||
 | 
					    padding-left: 5px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#right-pane .body-wrapper {
 | 
					#right-pane .body-wrapper {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -128,6 +128,6 @@ export default class GlobalMenuWidget extends BasicWidget {
 | 
				
			|||||||
        this.$widget.find(".open-dev-tools-button").toggle(utils.isElectron());
 | 
					        this.$widget.find(".open-dev-tools-button").toggle(utils.isElectron());
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        this.$widget.on('click', '.dropdown-item',
 | 
					        this.$widget.on('click', '.dropdown-item',
 | 
				
			||||||
            () => this.$widget.find('.dropdown-toggle').dropdown('toggle'));
 | 
					            () => this.$widget.find("[data-toggle='dropdown']").dropdown('toggle'));
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -59,7 +59,7 @@ const TPL = `
 | 
				
			|||||||
    </style>
 | 
					    </style>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <button type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="btn btn-sm dropdown-toggle">
 | 
					    <button type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="btn btn-sm dropdown-toggle">
 | 
				
			||||||
        Note actions
 | 
					        Actions
 | 
				
			||||||
        <span class="caret"></span>
 | 
					        <span class="caret"></span>
 | 
				
			||||||
    </button>
 | 
					    </button>
 | 
				
			||||||
    <div class="dropdown-menu dropdown-menu-right">
 | 
					    <div class="dropdown-menu dropdown-menu-right">
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -14,7 +14,7 @@ const TPL = `
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    .note-icon-container span {
 | 
					    .note-icon-container span {
 | 
				
			||||||
        font-size: 200%;
 | 
					        font-size: 180%;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    </style>
 | 
					    </style>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -48,8 +48,7 @@ function getRecentNotes(activeNoteId) {
 | 
				
			|||||||
        recent_notes
 | 
					        recent_notes
 | 
				
			||||||
        JOIN notes USING(noteId)
 | 
					        JOIN notes USING(noteId)
 | 
				
			||||||
      WHERE
 | 
					      WHERE
 | 
				
			||||||
        recent_notes.isDeleted = 0
 | 
					        notes.isDeleted = 0
 | 
				
			||||||
        AND notes.isDeleted = 0
 | 
					 | 
				
			||||||
        AND notes.noteId != ?
 | 
					        AND notes.noteId != ?
 | 
				
			||||||
        ${extraCondition}
 | 
					        ${extraCondition}
 | 
				
			||||||
      ORDER BY 
 | 
					      ORDER BY 
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user