Skip to content

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

:art: Left-align table headers by default https://github.com/siyuan-note/siyuan/issues/18785

Daniel1989a0a896de
diff --git a/app/src/assets/scss/component/_typography.scss b/app/src/assets/scss/component/_typography.scss
index 21e6fd6a83..976e34d25d 100644
--- a/app/src/assets/scss/component/_typography.scss
+++ b/app/src/assets/scss/component/_typography.scss
@@ -399,6 +399,11 @@
}
}
+ th:not([align]),
+ th[align=""] {
+ text-align: start;
+ }
+
thead th,
thead td {
font-weight: 600;