Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: Correct snapshot memo dialog spacing https://github.com/siyuan-note/siyuan/issues/19392

Daniel41ef74b3d399
diff --git a/app/src/history/history.ts b/app/src/history/history.ts
index 7846cc4c7b..d1e1ffaf31 100644
--- a/app/src/history/history.ts
+++ b/app/src/history/history.ts
@@ -27,7 +27,7 @@ const openSnapshotMemo = (repoElement: Element, id?: string, memo = "") => {
const dialog = new Dialog({
title: id ? window.siyuan.languages.editSnapshotMemo : window.siyuan.languages.snapshotMemo,
content: `<div class="b3-dialog__content">
- ${id ? `<div class="ft__secondary fn__hr">${window.siyuan.languages.snapshotMemoLocalTip}</div>` : ""}
+ ${id ? `<div class="ft__secondary">${window.siyuan.languages.snapshotMemoLocalTip}</div><div class="fn__hr"></div>` : ""}
<textarea class="b3-text-field fn__block" placeholder="${escapeAttr(window.siyuan.languages.snapshotMemoTip)}"></textarea>
</div>
<div class="b3-dialog__action">