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: fix https://github.com/siyuan-note/siyuan/issues/5024
Vanessa5e6298500190
diff --git a/app/src/assets/scss/_content.scss b/app/src/assets/scss/_content.scssindex e1464e3ba0..21807779b6 100644--- a/app/src/assets/scss/_content.scss+++ b/app/src/assets/scss/_content.scss@@ -4,7 +4,7 @@background-color: var(--b3-theme-background);position: relative;max-height: 100%;- min-height: 104px;+ min-height: 88px;display: flex;flex-direction: column;diff --git a/app/src/protyle/breadcrumb/index.ts b/app/src/protyle/breadcrumb/index.tsindex 74b63095d7..96e382988b 100644--- a/app/src/protyle/breadcrumb/index.ts+++ b/app/src/protyle/breadcrumb/index.ts@@ -417,7 +417,9 @@ export class Breadcrumb {});}this.element.classList.add("protyle-breadcrumb__bar--nowrap");- this.element.lastElementChild.previousElementSibling.scrollIntoView();+ if (this.element.lastElementChild) {+ this.element.scrollLeft = (this.element.lastElementChild as HTMLElement).offsetLeft - this.element.clientWidth - 8;+ }});}diff --git a/app/src/protyle/util/onGet.ts b/app/src/protyle/util/onGet.tsindex e0be15ad6e..050791ec44 100644--- a/app/src/protyle/util/onGet.ts+++ b/app/src/protyle/util/onGet.ts@@ -175,6 +175,10 @@ const setHTML = (options: { content: string, action?: string[] }, protyle: IProt});protyle.options.defId = undefined;}+ // https://ld246.com/article/1653639418266+ if (protyle.element.classList.contains("block__edit") && (protyle.element.nextElementSibling || protyle.element.previousElementSibling)) {+ protyle.element.style.minHeight = Math.min(30 + protyle.wysiwyg.element.clientHeight - 16, window.innerHeight / 3) + "px";+ }if (options.action.includes(Constants.CB_GET_APPEND) || options.action.includes(Constants.CB_GET_BEFORE)) {return;}