From 41ecc90239dbd667d2efbf4a4cf1803d3b4a319a Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sat, 18 Feb 2023 10:08:44 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/7368 --- app/src/card/openCard.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/app/src/card/openCard.ts b/app/src/card/openCard.ts index 2f2a0d71f..9fbcff90e 100644 --- a/app/src/card/openCard.ts +++ b/app/src/card/openCard.ts @@ -31,8 +31,8 @@ export const openCard = () => { } const dialog = new Dialog({ title: window.siyuan.languages.riffCard, - content: `
-
+ content: `
+
@@ -41,7 +41,6 @@ export const openCard = () => {
${countHTML}
-
${window.siyuan.languages.noDueCard}
@@ -71,11 +70,10 @@ export const openCard = () => {
`, - width: isMobile() ? "96vw" : "80vw", - height: "70vh", + width: isMobile() ? "98vw" : "80vw", + height: isMobile() ? "80vh" : "70vh", }); (dialog.element.querySelector(".b3-dialog__scrim") as HTMLElement).style.backgroundColor = "var(--b3-theme-background)"; - dialog.element.querySelector("input").focus(); const editor = new Protyle(dialog.element.querySelector("[data-type='render']") as HTMLElement, { blockId: "", action: [Constants.CB_GET_ALL],