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

Vanessa0cdeacbbd90b
diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.ts
index d4522c65b2..a2e4b08bc9 100644
--- a/app/src/protyle/export/index.ts
+++ b/app/src/protyle/export/index.ts
@@ -174,7 +174,7 @@ const renderPDF = async (id: string) => {
#action {
width: 232px;
background: var(--b3-theme-surface);
- padding: 16px 0;
+ padding: 12px 0;
position: fixed;
right: 0;
top: 0;
@@ -219,13 +219,17 @@ const renderPDF = async (id: string) => {
border-bottom: 1px solid var(--b3-theme-surface-lighter);
display: block;
color: var(--b3-theme-on-surface);
- padding-bottom: 16px;
- margin: 0 16px 16px 16px;
+ padding-bottom: 12px;
+ margin: 0 12px 12px 12px;
}
.b3-label:last-child {
border-bottom: none;
}
+
+ #preview .render-node[data-subtype="plantuml"] object {
+ max-width: 100%;
+ }
${await setInlineStyle(false, servePath)}
${await getPluginStyle()}
</style>
@@ -345,7 +349,7 @@ const renderPDF = async (id: string) => {
<input id="paged" class="b3-switch" type="checkbox" ${localData.paged ? "checked" : ""}>
</label>
</div>
- <div class="fn__flex" style="padding: 0 16px">
+ <div class="fn__flex" style="padding: 0 12px">
<div class="fn__flex-1"></div>
<button class="b3-button b3-button--cancel">${window.siyuan.languages.cancel}</button>
<div class="fn__space"></div>