diff --git a/app/src/card/openCard.ts b/app/src/card/openCard.ts
index 264cf32a4..2db5cf98f 100644
--- a/app/src/card/openCard.ts
+++ b/app/src/card/openCard.ts
@@ -44,12 +44,10 @@ export const genCardHTML = (options: {
`;
/// #else
iconsHTML = `
- ${options.isTab ? '
' : `
-
-
-
-
${window.siyuan.languages.riffCard}`}
-
+ ${options.isTab ? '
' : `
+ ${window.siyuan.languages.riffCard}
+
`}
+
${genCardCount(options.cardsData.unreviewedNewCardCount, options.cardsData.unreviewedOldCardCount)}
@@ -485,11 +483,13 @@ export const openCardByData = async (app: App, cardsData: ICardData, cardType: T
dialog
});
dialog.editor = editor;
- const focusElement = dialog.element.querySelector('.b3-button[data-type="-1"]') as HTMLButtonElement;
+ /// #if !MOBILE
+ const focusElement = dialog.element.querySelector("svg");
focusElement.focus();
const range = document.createRange();
range.selectNodeContents(focusElement);
focusByRange(range);
+ /// #endif
};
const nextCard = (options: {