From 786c80364090b63b60ea15437eba890ee28138c7 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sat, 16 May 2026 14:37:40 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/17687 --- app/src/protyle/export/index.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.ts index 472054f65..12fb8ffbe 100644 --- a/app/src/protyle/export/index.ts +++ b/app/src/protyle/export/index.ts @@ -169,11 +169,12 @@ const renderPDF = async (id: string) => { body { margin: 0; font-family: var(--b3-font-family); + background-color: var(--b3-body-background); } #action { width: 232px; - background: var(--b3-theme-surface); + background-color: var(--b3-theme-background); padding: 12px 0; position: fixed; right: 0; @@ -184,15 +185,19 @@ const renderPDF = async (id: string) => { z-index: 1; display: flex; flex-direction: column; + border-left: 1px solid var(--b3-body-background); } #preview { max-width: 800px; - margin: 0 auto; + margin: 24px auto; position: absolute; right: 232px; left: 0; + min-height: calc(100% - 48px); box-sizing: border-box; + background-color: var(--b3-theme-background); + box-shadow: var(--b3-dialog-shadow); } #preview.exporting {