make edit button visible for empty readonly notes, fixes #1760

This commit is contained in:
zadam 2021-03-17 22:41:37 +01:00
parent 4e21d12202
commit 1aa5349628
2 changed files with 2 additions and 0 deletions

View file

@ -5,6 +5,7 @@ const TPL = `
<style> <style>
.note-detail-read-only-code { .note-detail-read-only-code {
position: relative; position: relative;
min-height: 50px;
} }
.note-detail-read-only-code-content { .note-detail-read-only-code-content {

View file

@ -25,6 +25,7 @@ const TPL = `
padding-top: 10px; padding-top: 10px;
font-family: var(--detail-text-font-family); font-family: var(--detail-text-font-family);
position: relative; position: relative;
min-height: 50px;
} }
.note-detail-readonly-text p:first-child, .note-detail-readonly-text::before { .note-detail-readonly-text p:first-child, .note-detail-readonly-text::before {