mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
fix file preview in note revisions dialog
This commit is contained in:
parent
18cc9f2475
commit
a1ec6fe0aa
@ -157,8 +157,8 @@ async function setContentPane() {
|
|||||||
|
|
||||||
if (fullNoteRevision.content) {
|
if (fullNoteRevision.content) {
|
||||||
$table.append($("<tr>").append(
|
$table.append($("<tr>").append(
|
||||||
$("<th>").text("Preview:"),
|
$('<td colspan="2">').append(
|
||||||
$("<td>").append(
|
$('<div style="font-weight: bold;">').text("Preview:"),
|
||||||
$('<pre class="file-preview-content"></pre>')
|
$('<pre class="file-preview-content"></pre>')
|
||||||
.text(fullNoteRevision.content)
|
.text(fullNoteRevision.content)
|
||||||
)
|
)
|
||||||
@ -196,4 +196,4 @@ $list.on('focus', '.dropdown-item', e => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
setContentPane();
|
setContentPane();
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user