From 474718e5aebc2b97935c7ccdddae2dee90892ebf Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 22 Feb 2023 10:35:25 +0800 Subject: [PATCH] :art: fix https://github.com/siyuan-note/siyuan/issues/7442 --- app/src/card/openCard.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/card/openCard.ts b/app/src/card/openCard.ts index c1809146f..2978db4e4 100644 --- a/app/src/card/openCard.ts +++ b/app/src/card/openCard.ts @@ -108,6 +108,7 @@ export const openCardByData = (cardsData: ICard[], html = "") => { }); } (dialog.element.firstElementChild as HTMLElement).style.zIndex = "200"; + (dialog.element.querySelector(".b3-dialog__container") as HTMLElement).style.maxWidth = "1024px"; dialog.element.setAttribute("data-key", window.siyuan.config.keymap.general.riffCard.custom); const countElement = dialog.element.querySelector('[data-type="count"]'); const actionElements = dialog.element.querySelectorAll(".b3-dialog__cardaction");