Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/16385

Vanessa61e311184716
diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.ts
index a2c96ae0c3..00aa0bf446 100644
--- a/app/src/protyle/export/index.ts
+++ b/app/src/protyle/export/index.ts
@@ -720,7 +720,7 @@ export const onExport = async (data: IWebSocketData, filePath: string, servePath
const isInMobile = isInAndroid() || isInHarmony() || isInIOS();
const mobileHtml = isInMobile ? {
js: `document.body.style.minWidth = "${screenWidth}px";`,
- css: `@page { size: A4; margin: 10mm 0 10mm 0; }
+ css: `@page { size: A4; margin: 10mm 0 10mm 0; background-color: var(--b3-theme-background); }
.protyle-wysiwyg {padding: 0; margin: 0;}`
} : {js: "", css: ""};
const html = `<!DOCTYPE html>