From f33caa824f0cb572c70326339eeb39f41d7f2dec Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 30 Dec 2022 01:01:54 +0800 Subject: [PATCH] :iphone: fix https://github.com/siyuan-note/siyuan/issues/6943 --- app/src/card/makeCard.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/src/card/makeCard.ts b/app/src/card/makeCard.ts index 094500956..ae2d2bed0 100644 --- a/app/src/card/makeCard.ts +++ b/app/src/card/makeCard.ts @@ -52,7 +52,7 @@ export const makeCard = (nodeElement: Element[]) => { html += genCardItem(item); }); const dialog = new Dialog({ - width: isMobile() ? "80vw" : "50vw", + width: isMobile() ? "90vw" : "50vw", height: "70vh", title: window.siyuan.languages.riffCard, content: `
@@ -185,14 +185,14 @@ const viewCards = (deckID: string, title: string) => {
-
+
    ${renderViewItem(response.data.blocks)}
`, - width: "80vw", + width: isMobile() ? "90vw" : "80vw", height: "80vh", destroyCallback() { edit.destroy() @@ -306,16 +306,16 @@ const renderViewItem = (blocks: IBlock[]) => { ${unicode2Emoji(item.ial.icon, false, "b3-list-item__graphic", true)} ${item.content} - + -${hPath} +${hPath} `; isFirst = false; } else { listHTML += `
${item.content} - +
`; }