Vanessa 2025-03-26 22:21:14 +08:00
parent e672a5b693
commit c8f60547da

View file

@ -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]);