From deed49ecea74dc8d33198ed729fbaa9676e9e73b Mon Sep 17 00:00:00 2001 From: Vanessa Date: Tue, 30 Apr 2024 10:56:34 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/10926 --- app/src/protyle/header/Background.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/protyle/header/Background.ts b/app/src/protyle/header/Background.ts index 6ec8267d4..cfbec1a1a 100644 --- a/app/src/protyle/header/Background.ts +++ b/app/src/protyle/header/Background.ts @@ -143,7 +143,7 @@ export class Background { this.tagsElement = this.element.querySelector(".b3-chips") as HTMLElement; this.iconElement = this.element.querySelector(".protyle-background__icon") as HTMLElement; this.imgElement = this.element.querySelector(".protyle-background__img img") as HTMLImageElement; - this.actionElements = this.element.querySelectorAll(".protyle-background__action .b3-button"); + this.actionElements = this.element.querySelectorAll(".protyle-background__action:not(.fn__flex-center) .b3-button"); this.element.addEventListener("dragover", async (event) => { event.preventDefault(); @@ -452,7 +452,9 @@ export class Background { html += `
${item}
`; }); this.tagsElement.innerHTML = `${html} -`; +
+ +
`; this.tagsElement.classList.remove("fn__none"); this.actionElements[0].classList.add("fn__none"); } else {