Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/9751

Vanessa081b4ab21966
diff --git a/app/src/assets/scss/business/_layout.scss b/app/src/assets/scss/business/_layout.scss
index 51fa606377..f98ecfaa23 100644
--- a/app/src/assets/scss/business/_layout.scss
+++ b/app/src/assets/scss/business/_layout.scss
@@ -298,6 +298,7 @@
height: 14px;
width: 14px;
flex-shrink: 0;
+ line-height: 1em;
}
&__text {
diff --git a/app/src/protyle/render/av/render.ts b/app/src/protyle/render/av/render.ts
index 76b801f7d1..0b006d4abc 100644
--- a/app/src/protyle/render/av/render.ts
+++ b/app/src/protyle/render/av/render.ts
@@ -208,7 +208,7 @@ ${cell.color ? `color:${cell.color};` : ""}">${text}</div>`;
let tabHTML = "";
response.data.views.forEach((item: IAVView) => {
tabHTML += `<div data-id="${item.id}" class="item${item.id === response.data.viewID ? " item--focus" : ""}">
- ${item.icon ? unicode2Emoji(item.icon, "item__icon", true) : '<span class="item__icon"><svg><use xlink:href="#iconTable"></use></svg></span>'}
+ ${item.icon ? unicode2Emoji(item.icon, "item__graphic", true) : '<svg class="item__graphic"><use xlink:href="#iconTable"></use></svg>'}
<span class="item__text">${item.name}</span>
</div>`;
});