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/7363
Vanessa124b201fa7ad
diff --git a/app/src/assets/scss/_layout.scss b/app/src/assets/scss/_layout.scssindex 994961231e..207b804de7 100644--- a/app/src/assets/scss/_layout.scss+++ b/app/src/assets/scss/_layout.scss@@ -11,11 +11,18 @@}}+ &--floatl,+ &--floatr,+ &--floatt,+ &--floatb {+ transition: var(--b3-width-transition);+ }+&--float {position: fixed;z-index: 3;min-height: auto;- transition: transform .2s cubic-bezier(0, 0, .2, 1) 0ms, opacity .2s cubic-bezier(0, 0, .2, 1) 0ms;+ transition: transform .2s cubic-bezier(0, 0, .2, 1) 0ms, opacity .3s cubic-bezier(0, 0, .2, 1) 0ms;&.layout--floatl {border-radius: 0 8px 8px 0;diff --git a/app/src/layout/dock/index.ts b/app/src/layout/dock/index.tsindex d27765c5c5..9488a656a4 100644--- a/app/src/layout/dock/index.ts+++ b/app/src/layout/dock/index.ts@@ -104,7 +104,6 @@ export class Dock {target.setAttribute("aria-label", window.siyuan.languages.unpin);this.layout.element.style.opacity = "";this.layout.element.style.transform = "";- this.layout.element.style.transition = "var(--b3-width-transition)";if (hasActive) {this.resizeElement.classList.remove("fn__none");}diff --git a/app/src/layout/util.ts b/app/src/layout/util.tsindex fc2548c297..e496aafd0a 100644--- a/app/src/layout/util.ts+++ b/app/src/layout/util.ts@@ -693,9 +693,7 @@ export const addResize = (obj: Layout | Wnd) => {if (range) {focusByRange(range);}- nextElement.style.transition = "var(--b3-width-transition)";nextElement.style.overflow = "";- previousElement.style.transition = "var(--b3-width-transition)";previousElement.style.overflow = "";};});@@ -707,8 +705,6 @@ export const addResize = (obj: Layout | Wnd) => {}resizeElement.classList.add("layout__resize");obj.element.insertAdjacentElement("beforebegin", resizeElement);- obj.element.style.transition = "var(--b3-width-transition)";- (resizeElement.previousElementSibling as HTMLElement).style.transition = "var(--b3-width-transition)";resizeWnd(resizeElement, obj.resize);}};