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/17687

Vanessa786c80364090
diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.ts
index 472054f658..12fb8ffbe8 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 {