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: https://github.com/siyuan-note/siyuan/issues/17323
Vanessac5cb5f54f692
diff --git a/app/src/protyle/render/av/openMenuPanel.ts b/app/src/protyle/render/av/openMenuPanel.tsindex 275e2507d7..d5246cee36 100644--- a/app/src/protyle/render/av/openMenuPanel.ts+++ b/app/src/protyle/render/av/openMenuPanel.ts@@ -152,7 +152,7 @@ export const openMenuPanel = (options: {document.body.insertAdjacentHTML("beforeend", `<div class="av__panel" style="z-index: ${++window.siyuan.zIndex};"><div class="b3-dialog__scrim" data-type="close"></div>- <div class="b3-menu" ${["select", "date", "asset", "relation", "rollup"].includes(options.type) ? `style="min-width: 200px;${isMobile() ? "max-width: 90vw;" : "max-width: 50vw;"}"` : ""}>${html}</div>+ <div class="b3-menu" ${["select", "date", "asset", "relation", "rollup"].includes(options.type) ? `style="${["select", "asset", "relation"].includes(options.type) ? "max-height: calc(100vh - 32px);display: flex;flex-direction: column;" : ""}min-width: 200px;${isMobile() ? "max-width: 90vw;" : "max-width: 50vw;"}"` : ""}>${html}</div></div>`);avPanelElement = document.querySelector(".av__panel");let closeCB: () => void;diff --git a/app/src/protyle/render/av/select.ts b/app/src/protyle/render/av/select.tsindex 13b852fd56..dac34e2b50 100644--- a/app/src/protyle/render/av/select.ts+++ b/app/src/protyle/render/av/select.ts@@ -666,12 +666,12 @@ export const getSelectHTML = (fields: IAVColumn[], cellElements: HTMLElement[],selectedHTML += `<div class="b3-chip b3-chip--middle" data-content="${escapeAttr(item.content)}" style="white-space: nowrap;max-width:100%;background-color:var(--b3-font-background${item.color});color:var(--b3-font-color${item.color})"><span class="fn__ellipsis">${escapeHtml(item.content)}</span><svg class="b3-chip__close" data-type="removeCellOption"><use xlink:href="#iconCloseRound"></use></svg></div>`;});- return `<div class="b3-menu__items">+ return `<div class="b3-menu__items" style="display: flex;flex-direction: column;flex: 1;"><div class="b3-chips" style="max-width: 50vw">${selectedHTML}<input></div>-<div>${filterSelectHTML("", colData.options, selected)}</div>+<div style="flex: 1;overflow: auto;">${filterSelectHTML("", colData.options, selected)}</div></div>`;};