mirror of
https://github.com/zadam/trilium.git
synced 2025-11-15 09:45:52 +01:00
fix placement of "Edit" button on read only notes
This commit is contained in:
@@ -150,7 +150,7 @@ async function consumeSyncData() {
|
|||||||
const nonProcessedSyncRows = allSyncRows.filter(sync => !processedEntityChangeIds.has(sync.id));
|
const nonProcessedSyncRows = allSyncRows.filter(sync => !processedEntityChangeIds.has(sync.id));
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await utils.timeLimit(processSyncRows(nonProcessedSyncRows), 15000);
|
await utils.timeLimit(processSyncRows(nonProcessedSyncRows), 30000);
|
||||||
}
|
}
|
||||||
catch (e) {
|
catch (e) {
|
||||||
logError(`Encountered error ${e.message}: ${e.stack}, reloading frontend.`);
|
logError(`Encountered error ${e.message}: ${e.stack}, reloading frontend.`);
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ const TPL = `
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
font-family: var(--detail-text-font-family);
|
font-family: var(--detail-text-font-family);
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.note-detail-readonly-text p:first-child, .note-detail-editable-text::before {
|
.note-detail-readonly-text p:first-child, .note-detail-editable-text::before {
|
||||||
|
|||||||
Reference in New Issue
Block a user