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: Refine table control button presentation https://github.com/siyuan-note/siyuan/issues/18489
Daniel57d0b1f93fa2
diff --git a/app/src/assets/scss/protyle/_protyle.scss b/app/src/assets/scss/protyle/_protyle.scssindex be68df96db..d4b7368480 100644--- a/app/src/assets/scss/protyle/_protyle.scss+++ b/app/src/assets/scss/protyle/_protyle.scss@@ -796,7 +796,7 @@ table + .protyle-action__table {&:hover {color: var(--b3-theme-primary);- background-color: var(--b3-list-hover);+ background-image: linear-gradient(var(--b3-list-hover), var(--b3-list-hover));}}diff --git a/app/src/protyle/util/tableControl.ts b/app/src/protyle/util/tableControl.tsindex 8079671260..40df76bfb0 100644--- a/app/src/protyle/util/tableControl.ts+++ b/app/src/protyle/util/tableControl.ts@@ -155,7 +155,7 @@ export class TableControl {<button type="button" class="protyle-table-control__handle protyle-table-control__handle--column b3-tooltips b3-tooltips__s fn__none" data-type="column" aria-label="${window.siyuan.languages.column}"><svg><use xlink:href="#iconDrag"></use></svg></button>-<button type="button" class="protyle-table-control__handle protyle-table-control__handle--cell b3-tooltips b3-tooltips__w fn__none" data-type="cell" aria-label="${window.siyuan.languages.more}">+<button type="button" class="protyle-table-control__handle protyle-table-control__handle--cell b3-tooltips b3-tooltips__n fn__none" data-type="cell" aria-label="${window.siyuan.languages.more}"><svg><use xlink:href="#iconMore"></use></svg></button><button type="button" class="protyle-table-control__add protyle-table-control__add--row b3-tooltips b3-tooltips__n fn__none" data-type="add-row" aria-label="${window.siyuan.languages.insertRowBelow}">@@ -844,7 +844,7 @@ export class TableControl {}if (this.hoverType === "cell" && visibleCellRect.width > 0 && visibleCellRect.height > 0) {this.cellHandle.classList.remove("fn__none");- this.setPosition(this.cellHandle, visibleCellRect.right - 5, visibleCellRect.top + 5);+ this.setPosition(this.cellHandle, visibleCellRect.right - 3, visibleCellRect.top + 3);}if (this.hoverType === "add-row" && viewportRect.width > 0 &&tableRect.bottom <= viewportRect.bottom + 1 &&