An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: Avoid assigning fixed width to plugin setting switches https://github.com/siyuan-note/siyuan/issues/19301
Danielac16209e8623
diff --git a/app/src/plugin/Setting.ts b/app/src/plugin/Setting.tsindex b95334f02f..40a732a38e 100644--- a/app/src/plugin/Setting.ts+++ b/app/src/plugin/Setting.ts@@ -83,7 +83,10 @@ export class Setting {actionElement.classList.add("fn__block");} else {actionElement.classList.remove("fn__block");- actionElement.classList.add("fn__flex-center", "fn__size200");+ actionElement.classList.add("fn__flex-center");+ if (!actionElement.classList.contains("b3-switch")) {+ actionElement.classList.add("fn__size200");+ }contentElement.lastElementChild.insertAdjacentElement("beforeend", actionElement);}}