From 61e3111847161554f9199b08ad876a8f69744847 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 26 Nov 2025 11:37:26 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/16385 --- app/src/protyle/export/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.ts index a2c96ae0c..00aa0bf44 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 = `