mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 07:30:12 +01:00
This commit is contained in:
parent
cc3fcc1e97
commit
3e466486bb
1 changed files with 5 additions and 3 deletions
|
|
@ -82,8 +82,8 @@ export const genCardHTML = (options: {
|
||||||
<div data-type="fullscreen" class="b3-tooltips b3-tooltips__sw block__icon block__icon--show" aria-label="${window.siyuan.languages.fullscreen}">
|
<div data-type="fullscreen" class="b3-tooltips b3-tooltips__sw block__icon block__icon--show" aria-label="${window.siyuan.languages.fullscreen}">
|
||||||
<svg><use xlink:href="#iconFullscreen"></use></svg>
|
<svg><use xlink:href="#iconFullscreen"></use></svg>
|
||||||
</div>
|
</div>
|
||||||
<div class="fn__space"></div>
|
<div class="fn__space${options.cardsData.cards.length === 0 ? " fn__none" : ""}"></div>
|
||||||
<div data-type="more" class="b3-tooltips b3-tooltips__sw block__icon block__icon--show" aria-label="${window.siyuan.languages.more}">
|
<div data-type="more" class="${options.cardsData.cards.length === 0 ? "fn__none " : ""}b3-tooltips b3-tooltips__sw block__icon block__icon--show" aria-label="${window.siyuan.languages.more}">
|
||||||
<svg><use xlink:href="#iconMore"></use></svg>
|
<svg><use xlink:href="#iconMore"></use></svg>
|
||||||
</div>
|
</div>
|
||||||
<div class="fn__space${options.isTab ? " fn__none" : ""}"></div>
|
<div class="fn__space${options.isTab ? " fn__none" : ""}"></div>
|
||||||
|
|
@ -874,7 +874,9 @@ const allDone = (countElement: Element, editor: Protyle, actionElements: NodeLis
|
||||||
emptyElement.classList.remove("fn__none");
|
emptyElement.classList.remove("fn__none");
|
||||||
actionElements[0].classList.add("fn__none");
|
actionElements[0].classList.add("fn__none");
|
||||||
actionElements[1].classList.add("fn__none");
|
actionElements[1].classList.add("fn__none");
|
||||||
countElement.parentElement.querySelector('[data-type="more"]').classList.add("fn__none");
|
const moreElement = countElement.parentElement.querySelector('[data-type="more"]');
|
||||||
|
moreElement.classList.add("fn__none");
|
||||||
|
moreElement.previousElementSibling.classList.add("fn__none");
|
||||||
};
|
};
|
||||||
|
|
||||||
const newRound = (countElement: Element, editor: Protyle, actionElements: NodeListOf<Element>, unreviewedCount: number) => {
|
const newRound = (countElement: Element, editor: Protyle, actionElements: NodeListOf<Element>, unreviewedCount: number) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue