diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.ts index d4522c65b..a2e4b08bc 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()} @@ -345,7 +349,7 @@ const renderPDF = async (id: string) => { -