An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:lipstick: 页签 https://github.com/siyuan-note/siyuan/issues/6450
Vanessae5703dc70f23
diff --git a/app/src/assets/scss/_menu.scss b/app/src/assets/scss/_menu.scssindex fe06286397..04f90d6e63 100644--- a/app/src/assets/scss/_menu.scss+++ b/app/src/assets/scss/_menu.scss@@ -119,6 +119,12 @@&__label {flex: 1;min-width: 84px;+ @include text-clamp(1);+ max-width: 30vw;+ white-space: nowrap;+ overflow: hidden;+ -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0) 0, #000 12px);+ max-width: 30vw;}&__icon {diff --git a/app/src/layout/Wnd.ts b/app/src/layout/Wnd.tsindex 0075b5ef8a..7565aa2d2a 100644--- a/app/src/layout/Wnd.ts+++ b/app/src/layout/Wnd.ts@@ -483,6 +483,8 @@ export class Wnd {private renderTabList(event: MouseEvent) {window.siyuan.menus.menu.remove();+ window.siyuan.menus.menu.element.style.maxHeight = "70vh";+ window.siyuan.menus.menu.element.style.overflow = "auto";Array.from(this.headersElement.children).forEach((item: HTMLElement) => {const iconElement = item.querySelector(".item__icon");const graphicElement = item.querySelector(".item__graphic");@@ -513,7 +515,7 @@ export class Wnd {}).element);});window.siyuan.menus.menu.popup({- x: event.clientX,+ x: event.clientX - 16,y: event.clientY,});}diff --git a/app/src/menus/Menu.ts b/app/src/menus/Menu.tsindex e2a5f624ff..703662c459 100644--- a/app/src/menus/Menu.ts+++ b/app/src/menus/Menu.ts@@ -76,7 +76,7 @@ export class Menu {this.element.innerHTML = "";this.element.removeAttribute("data-filetreeid"); // 用于标记文档数右键所选文档 https://ld246.com/article/1667311960383this.element.classList.add("fn__none");- this.element.style.zIndex = "";+ this.element.removeAttribute("style")}public append(element?: HTMLElement) {