An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: https://github.com/siyuan-note/siyuan/issues/12914
Vanessade0b3b8415ae
diff --git a/app/src/layout/dock/Files.ts b/app/src/layout/dock/Files.tsindex 806eed0d86..dabfc9c8ca 100644--- a/app/src/layout/dock/Files.ts+++ b/app/src/layout/dock/Files.ts@@ -770,12 +770,15 @@ export class Files extends Model {if (!init) {return;}- if (html === "") {- this.closeElement.lastElementChild.classList.remove("fn__none");- this.closeElement.classList.add("fn__flex-1");- } else {+ const svgElement = this.closeElement.querySelector("svg")+ if (html !== "") {+ this.closeElement.style.height = "30px";+ svgElement.classList.remove("b3-list-item__arrow--open");this.closeElement.lastElementChild.classList.add("fn__none");- this.closeElement.classList.remove("fn__flex-1");+ } else {+ this.closeElement.style.height = "40%";+ svgElement.classList.add("b3-list-item__arrow--open");+ this.closeElement.lastElementChild.classList.remove("fn__none");}}diff --git a/app/src/mobile/dock/MobileFiles.ts b/app/src/mobile/dock/MobileFiles.tsindex e8bd75ddc5..bd45b87ec9 100644--- a/app/src/mobile/dock/MobileFiles.ts+++ b/app/src/mobile/dock/MobileFiles.ts@@ -322,12 +322,15 @@ export class MobileFiles extends Model {if (!init) {return;}- if (html === "") {- this.closeElement.lastElementChild.classList.remove("fn__none");- this.closeElement.classList.add("fn__flex-1");- } else {+ const svgElement = this.closeElement.querySelector("svg")+ if (html !== "") {+ this.closeElement.style.height = "30px";+ svgElement.classList.remove("b3-list-item__arrow--open");this.closeElement.lastElementChild.classList.add("fn__none");- this.closeElement.classList.remove("fn__flex-1");+ } else {+ this.closeElement.style.height = "40%";+ svgElement.classList.add("b3-list-item__arrow--open");+ this.closeElement.lastElementChild.classList.remove("fn__none");}}