Skip to content

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

:art: Improve database column header icon sizing https://github.com/siyuan-note/siyuan/issues/19229

Daniel1ff6ec21e765
diff --git a/app/src/assets/scss/business/_av.scss b/app/src/assets/scss/business/_av.scss
index e653a14974..b91029c8ae 100644
--- a/app/src/assets/scss/business/_av.scss
+++ b/app/src/assets/scss/business/_av.scss
@@ -1038,13 +1038,14 @@
text-overflow: ellipsis;
}
- img.av__cellheadericon {
- height: calc(1.625em - 8px);
- }
-
.av__cellheadericon {
- height: 1.625em;
- width: calc(1.625em - 8px);
+ height: 1.25em;
+ width: 1.25em;
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ object-fit: contain;
+ line-height: 1;
color: var(--b3-theme-on-surface);
margin: 0 5px 0 0;
flex-shrink: 0;