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;
 | 
			
		||||
    top: 2px;
 | 
			
		||||
    font-size: large;
 | 
			
		||||
    padding-left: 5px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#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.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>
 | 
			
		||||
 | 
			
		||||
    <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>
 | 
			
		||||
    </button>
 | 
			
		||||
    <div class="dropdown-menu dropdown-menu-right">
 | 
			
		||||
 
 | 
			
		||||
@@ -14,7 +14,7 @@ const TPL = `
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
    .note-icon-container span {
 | 
			
		||||
        font-size: 200%;
 | 
			
		||||
        font-size: 180%;
 | 
			
		||||
    }
 | 
			
		||||
    </style>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -48,8 +48,7 @@ function getRecentNotes(activeNoteId) {
 | 
			
		||||
        recent_notes
 | 
			
		||||
        JOIN notes USING(noteId)
 | 
			
		||||
      WHERE
 | 
			
		||||
        recent_notes.isDeleted = 0
 | 
			
		||||
        AND notes.isDeleted = 0
 | 
			
		||||
        notes.isDeleted = 0
 | 
			
		||||
        AND notes.noteId != ?
 | 
			
		||||
        ${extraCondition}
 | 
			
		||||
      ORDER BY 
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user