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: Align relation preview icons and omit copy actions https://github.com/siyuan-note/siyuan/issues/19904
Daniel2b7edfd0a547
diff --git a/app/src/assets/scss/business/_av.scss b/app/src/assets/scss/business/_av.scssindex 8153116ba5..4827e099e3 100644--- a/app/src/assets/scss/business/_av.scss+++ b/app/src/assets/scss/business/_av.scss@@ -2760,6 +2760,17 @@ img.av__cellassetimg {border-right: 0;}+ .av__cell--relation {+ display: inline-flex;+ align-items: center;+ min-width: 0;+ max-width: 100%;++ > :first-child {+ flex-shrink: 0;+ }+ }+.av__celltext,.b3-menu__label {overflow: hidden;diff --git a/app/src/protyle/render/av/relation.ts b/app/src/protyle/render/av/relation.tsindex 7e97f975f2..4bb70ce578 100644--- a/app/src/protyle/render/av/relation.ts+++ b/app/src/protyle/render/av/relation.ts@@ -465,7 +465,7 @@ style="${primaryCell.bgColor ? `background-color:${primaryCell.bgColor};` : ""}$} else {html += `<div data-relation-column="${escapeAttr(column.id)}" class="av__relation-table-cell"style="${cell?.bgColor ? `background-color:${cell.bgColor};` : ""}${cell?.color ? `color:${cell.color};` : ""}">${cell?.value ?- renderCell(cell.value, 0, true, "table", column.options, column.dateFormat, column.renderTemplate) : ""}</div>`;+ renderCell(cell.value, 0, true, "table", column.options, column.dateFormat, column.renderTemplate, false) : ""}</div>`;}});return html + "</div>";