From e03644895d9285bd58429b2a874f49b16616a18d Mon Sep 17 00:00:00 2001 From: Vanessa Date: Tue, 9 May 2023 10:57:35 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/8202 --- app/src/assets/scss/base.scss | 5 +++++ app/src/util/pathName.ts | 22 +++++++++++----------- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/app/src/assets/scss/base.scss b/app/src/assets/scss/base.scss index 5f77c8dd1..db8382a3f 100644 --- a/app/src/assets/scss/base.scss +++ b/app/src/assets/scss/base.scss @@ -362,6 +362,11 @@ html { font-size: 12px; user-select: none; height: 22px; + + &--right { + width: 32px; + text-align: right; + } } .reveal { diff --git a/app/src/util/pathName.ts b/app/src/util/pathName.ts index 2dc074261..a271f14a9 100644 --- a/app/src/util/pathName.ts +++ b/app/src/util/pathName.ts @@ -147,8 +147,8 @@ export const movePathTo = (cb: (toPath: string[], toNotebook: string[]) => void, - -
+ +
@@ -177,9 +177,9 @@ export const movePathTo = (cb: (toPath: string[], toNotebook: string[]) => void, if (!item.closed) { let countHTML = ""; if (flashcard) { - countHTML = `${item.newFlashcardCount} -${item.dueFlashcardCount} -${item.flashcardCount}`; + countHTML = `${item.newFlashcardCount} +${item.dueFlashcardCount} +${item.flashcardCount}`; } html += `