From f8f564f1284615c43f46153f550b8463be53c31f Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sat, 18 Feb 2023 10:17:40 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/7368 --- app/src/card/viewCards.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/card/viewCards.ts b/app/src/card/viewCards.ts index f5e155093..b1e5df000 100644 --- a/app/src/card/viewCards.ts +++ b/app/src/card/viewCards.ts @@ -13,7 +13,7 @@ import {genCardItem} from "./makeCard"; export const viewCards = (deckID: string, title: string, sourceElement?: HTMLElement) => { let pageIndex = 1; - let edit:Protyle; + let edit: Protyle; fetchPost("/api/riff/getRiffCards", {deckID, page: pageIndex}, (response) => { const dialog = new Dialog({ title, @@ -29,7 +29,7 @@ export const viewCards = (deckID: string, title: string, sourceElement?: HTMLEle
-
+
    ${renderViewItem(response.data.blocks)}
@@ -37,8 +37,8 @@ export const viewCards = (deckID: string, title: string, sourceElement?: HTMLEle
${window.siyuan.languages.emptyContent}
`, - width: isMobile() ? "90vw" : "80vw", - height: "80vh", + width: isMobile() ? "98vw" : "80vw", + height: isMobile() ? "80vh" : "70vh", destroyCallback() { if (edit) { edit.destroy();