Skip to content

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

:sparkles: Keep database relation icons with wrapped text https://github.com/siyuan-note/siyuan/issues/19702

Daniel844280d887e9
diff --git a/app/src/assets/scss/business/_av.scss b/app/src/assets/scss/business/_av.scss
index 9a77aa76a7..934bcbf739 100644
--- a/app/src/assets/scss/business/_av.scss
+++ b/app/src/assets/scss/business/_av.scss
@@ -1243,6 +1243,22 @@
&[data-wrap="true"] {
white-space: pre-wrap;
+
+ .av__cell--relation {
+ display: inline-flex;
+ max-width: 100%;
+ vertical-align: top;
+
+ > :first-child {
+ flex-shrink: 0;
+ align-self: flex-start;
+ }
+
+ > .av__celltext {
+ min-width: 0;
+ overflow-wrap: anywhere;
+ }
+ }
}
&[data-wrap="false"] {