Skip to content

Build your personal knowledge base with Trilium Notes

fix placement of "Edit" button on read only notes

zadam27052143abdd
diff --git a/src/public/app/services/ws.js b/src/public/app/services/ws.js
index 29187c29e5..ad66eeb421 100644
--- a/src/public/app/services/ws.js
+++ b/src/public/app/services/ws.js
@@ -150,7 +150,7 @@ async function consumeSyncData() {
const nonProcessedSyncRows = allSyncRows.filter(sync => !processedEntityChangeIds.has(sync.id));
try {
- await utils.timeLimit(processSyncRows(nonProcessedSyncRows), 15000);
+ await utils.timeLimit(processSyncRows(nonProcessedSyncRows), 30000);
}
catch (e) {
logError(`Encountered error ${e.message}: ${e.stack}, reloading frontend.`);
diff --git a/src/public/app/widgets/type_widgets/read_only_text.js b/src/public/app/widgets/type_widgets/read_only_text.js
index 2d8d2e7aaa..9a25f086d0 100644
--- a/src/public/app/widgets/type_widgets/read_only_text.js
+++ b/src/public/app/widgets/type_widgets/read_only_text.js
@@ -18,6 +18,7 @@ const TPL = `
height: 100%;
padding: 10px;
font-family: var(--detail-text-font-family);
+ position: relative;
}
.note-detail-readonly-text p:first-child, .note-detail-editable-text::before {