mirror of
https://github.com/zadam/trilium.git
synced 2025-01-16 20:21:43 +08:00
make edit button visible for empty readonly notes, fixes #1760
This commit is contained in:
parent
4e21d12202
commit
1aa5349628
2 changed files with 2 additions and 0 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue