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; position: relative;
top: 2px; top: 2px;
font-size: large; font-size: large;
padding-left: 5px;
} }
#right-pane .body-wrapper { #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.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'));
} }
} }

View File

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

View File

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

View File

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