note list is now separate widget which allows more flexibility in its usage

This commit is contained in:
zadam
2020-11-25 23:18:30 +01:00
parent b9c0823abf
commit 02043d9109
4 changed files with 62 additions and 69 deletions

View File

@@ -25,8 +25,8 @@ const TPL = `
<div class="note-detail">
<style>
.note-detail {
height: 100%;
min-height: 0;
flex-grow: 1;
font-family: var(--detail-font-family);
font-size: var(--detail-font-size);
}
@@ -75,6 +75,7 @@ export default class NoteDetailWidget extends TabAwareWidget {
doRender() {
this.$widget = $(TPL);
this.contentSized();
this.$widget.on("dragover", e => e.preventDefault());