Skip to content

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

:art: fix https://github.com/siyuan-note/siyuan/issues/7368

Vanessaca6dffe3f5cb
diff --git a/app/src/card/openCard.ts b/app/src/card/openCard.ts
index 255c7a8805..2f2a0d71f3 100644
--- a/app/src/card/openCard.ts
+++ b/app/src/card/openCard.ts
@@ -74,6 +74,7 @@ export const openCard = () => {
width: isMobile() ? "96vw" : "80vw",
height: "70vh",
});
+ (dialog.element.querySelector(".b3-dialog__scrim") as HTMLElement).style.backgroundColor = "var(--b3-theme-background)";
dialog.element.querySelector("input").focus();
const editor = new Protyle(dialog.element.querySelector("[data-type='render']") as HTMLElement, {
blockId: "",