mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 01:50:12 +01:00
This commit is contained in:
parent
e672a5b693
commit
c8f60547da
1 changed files with 6 additions and 2 deletions
|
|
@ -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]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue