-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Improve relation and rollup style in database #13692
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@Vanessa219 我觉得可以用这个样式: .av__cell:not(.av__cell--header)[data-dtype="relation"] .av__celltext:hover {
border-bottom: 2px solid var(--b3-border-color);
}
.av__cell:not(.av__cell--header)[data-dtype="relation"] .av__celltext:not(:last-of-type)::after {
content: ",";
} |
#12865 逗号是这个里面去的 |
逗号改用伪元素挺好的 |
以前是有逗号,因为 #12865 去除了,现在的问题是有必要再加上么,如果加上,以后是不是又需要再移除。 |
之前那个逗号会影响自定义 CSS 所以去除了,改成伪元素逗号的话就不会影响了 |
汇总也有这个问题,汇总估计还是需要和 notion 一样用逗号分割,关联的话可以用图标分割。 |
用什么图标? |
issue 标题需要改一下 |
mouyase
pushed a commit
to mouyase/siyuan
that referenced
this issue
Feb 28, 2025
mouyase
pushed a commit
to mouyase/siyuan
that referenced
this issue
Feb 28, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In what scenarios do you need this feature?
The aim is to improve the visualization of the database when the relationship is one to many. I would like the visualization to be the same as the multi-select attribute selection system, including the same color system.
In the current view, it is a little confusing to see that an author is related to two books, when only viewing the author database, as per the example.

Describe the optimal solution
Describe the candidate solution
No response
Other information
No response
The text was updated successfully, but these errors were encountered: