small tweaks

This commit is contained in:
zadam 2021-02-13 21:52:31 +01:00
parent 378987e61c
commit 076b4a6651
5 changed files with 5 additions and 5 deletions

View File

@ -103,6 +103,7 @@ const RIGHT_PANE_CSS = `
position: relative;
top: 2px;
font-size: large;
padding-left: 5px;
}
#right-pane .body-wrapper {

View File

@ -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'));
}
}

View File

@ -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">

View File

@ -14,7 +14,7 @@ const TPL = `
}
.note-icon-container span {
font-size: 200%;
font-size: 180%;
}
</style>

View File

@ -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