From 27052143abdd9c093f46e30ae9eac09eb423b22f Mon Sep 17 00:00:00 2001 From: zadam Date: Sat, 19 Sep 2020 23:44:30 +0200 Subject: [PATCH] fix placement of "Edit" button on read only notes --- src/public/app/services/ws.js | 2 +- src/public/app/widgets/type_widgets/read_only_text.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/public/app/services/ws.js b/src/public/app/services/ws.js index 29187c29e..ad66eeb42 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 2d8d2e7aa..9a25f086d 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 {