diff --git a/app/appearance/themes/daylight/theme.css b/app/appearance/themes/daylight/theme.css index 65977c8bf..063772071 100644 --- a/app/appearance/themes/daylight/theme.css +++ b/app/appearance/themes/daylight/theme.css @@ -148,7 +148,8 @@ /* PDF */ .textLayer, .pdf__resize { - mix-blend-mode: darken; + /* dark 蓝色、紫色背景显示不清楚,文档位于 https://github.com/siyuan-note/siyuan/issues/5351 */ + mix-blend-mode: multiply; } .b3-typography div.hljs, .protyle-wysiwyg div.hljs { diff --git a/app/src/util/history.ts b/app/src/util/history.ts index 57638a92c..1dbef852c 100644 --- a/app/src/util/history.ts +++ b/app/src/util/history.ts @@ -443,16 +443,19 @@ export const openHistory = () => { } }); }); + break; } else if (type === "uploadSnapshot") { fetchPost("/api/repo/uploadCloudSnapshot", { tag: target.parentElement.getAttribute("data-tag"), id: target.parentElement.getAttribute("data-id") }); + break; } else if (type === "downloadSnapshot") { fetchPost("/api/repo/downloadCloudSnapshot", { tag: target.parentElement.getAttribute("data-tag"), id: target.parentElement.getAttribute("data-id") }); + break; } else if (type === "genTag") { const genTagDialog = new Dialog({ title: window.siyuan.languages.tagSnapshot,