mirror of
https://github.com/zadam/trilium.git
synced 2025-10-31 18:36:30 +01:00
fix file preview in note revisions dialog
This commit is contained in:
@@ -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();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user