From ec92c7837b43e9c9bc8737fc03e23ad70b820b6b Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 8 Dec 2022 00:33:39 +0800 Subject: [PATCH] :art: fix https://github.com/siyuan-note/siyuan/issues/6809 --- app/src/protyle/export/index.ts | 57 +++++++++++++++++++++++++-------- 1 file changed, 43 insertions(+), 14 deletions(-) diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.ts index e3681fc0a..c6e83dadc 100644 --- a/app/src/protyle/export/index.ts +++ b/app/src/protyle/export/index.ts @@ -116,7 +116,6 @@ const renderPDF = (id: string) => { #preview > .code-block { margin-left: auto; margin-right: auto; - width: 800px; } #preview.exporting { @@ -221,7 +220,34 @@ const renderPDF = (id: string) => { `; const mainWindow = getCurrentWindow();