Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/17358

Vanessaa49a45ebf9a5
diff --git a/app/src/config/bazaar.ts b/app/src/config/bazaar.ts
index 0c90644cd3..fc11dc868d 100644
--- a/app/src/config/bazaar.ts
+++ b/app/src/config/bazaar.ts
@@ -529,7 +529,7 @@ type="checkbox">
<span class="fn__flex-1"></span>
${data.preferredFunding ?
bazaar._genFundingHTML(data.preferredFunding) :
- `<span data-position="north" class="ariaLabel block__icon block__icon--show ft__primary" aria-label="${window.siyuan.languages.author}" style="cursor: default"><svg><use xlink:href="#iconAccount"></use></svg></span>`
+ '<span class="block__icon block__icon--show block__icon--text"><svg><use xlink:href="#iconAccount"></use></svg></span>'
}
<span class="fn__space"></span>
<a href="${urls.join("/")}" target="_blank" title="Creator">${data.author}</a>
diff --git a/app/src/layout/dock/Graph.ts b/app/src/layout/dock/Graph.ts
index e9a9abb8c7..458796be39 100644
--- a/app/src/layout/dock/Graph.ts
+++ b/app/src/layout/dock/Graph.ts
@@ -314,11 +314,11 @@ export class Graph extends Model {
if (dataType === "min") {
getDockByType(this.type === "global" ? "globalGraph" : "graph").toggleModel(this.type === "global" ? "globalGraph" : "graph", false, true);
} else if (dataType === "menu") {
- if (target.classList.contains("ft__primary")) {
- target.classList.remove("ft__primary");
+ if (target.classList.contains("block__icon--active")) {
+ target.classList.remove("block__icon--active");
this.panelElement.style.right = "";
} else {
- target.classList.add("ft__primary");
+ target.classList.add("block__icon--active");
this.panelElement.style.right = "0";
}
} else if (dataType === "search") {
@@ -339,8 +339,8 @@ export class Graph extends Model {
}
break;
} else if (target.classList.contains("graph__svg")) {
- this.element.querySelectorAll(".block__icon.ft__primary").forEach(item => {
- item.classList.remove("ft__primary");
+ this.element.querySelectorAll(".block__icon.block__icon--active").forEach(item => {
+ item.classList.remove("block__icon--active");
});
this.panelElement.style.right = "";
break;