diff --git a/app/src/protyle/export/util.ts b/app/src/protyle/export/util.ts index f7c9818f2..e2ed219bb 100644 --- a/app/src/protyle/export/util.ts +++ b/app/src/protyle/export/util.ts @@ -32,7 +32,7 @@ export const exportImage = (id: string) => { title: window.siyuan.languages.exportAsImage, content: `
-
+
@@ -62,7 +62,11 @@ export const exportImage = (id: string) => { }); btnsElement[1].addEventListener("click", () => { const msgId = showMessage(window.siyuan.languages.exporting, 0); - (exportDialog.element.querySelector(".b3-dialog__container") as HTMLElement).style.height = ""; + const containerElement = exportDialog.element.querySelector(".b3-dialog__container") as HTMLElement + containerElement.style.height = ""; + /// #if MOBILE + containerElement.style.width = "100vw"; + /// #endif const contentElement = exportDialog.element.querySelector(".b3-dialog__content") as HTMLElement; contentElement.style.overflow = "hidden"; setStorageVal(Constants.LOCAL_EXPORTIMG, window.siyuan.storage[Constants.LOCAL_EXPORTIMG]);