Improve Attribute View Layout - #15178
Draft
TCOTC wants to merge 4 commits into
Draft
Conversation
This was referenced Jun 29, 2025
Closed
TCOTC
commented
Jun 29, 2025
| &:empty::after { | ||
| color: var(--b3-theme-on-surface-light); | ||
| content: attr(data-tip); | ||
| pointer-events: none; |
| content: attr(data-tip); | ||
| color: var(--b3-theme-on-surface-light); | ||
| cursor: text; | ||
| pointer-events: none; |
Contributor
Author
There was a problem hiding this comment.
跟前面伪元素影响光标样式的问题使用一致的解决方法
| font-size: 85%; | ||
| min-height: 23px; | ||
| padding: 5px 4px; | ||
| padding: 10px 5px; |
Contributor
Author
There was a problem hiding this comment.
之前的边距太窄了,有点难看,参考 Notion 把整体边距改到 10px
| } | ||
|
|
||
| .av__cellassetimg { | ||
| margin: 3px 6px 3px 0; |
Contributor
Author
|
试了一下这个新加的逻辑不能解决问题 我的这个方法应该是 ok 的了: |
Member
|
这样算解决没?我理解的是 box-shadow 提前消失的问题 |
Contributor
Author
|
不只是 box-shadow 的问题,前面 #15178 (comment) 我提到了两个问题 我改成用 |
Member
|
哦,我修改的是切换时两侧的 box-shadow 会消失这个问题。你这个是可以的,这 pr 内容比较多,我先修改这个点。 |
TCOTC
marked this pull request as draft
January 12, 2026 17:37
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Note
这个 PR 的内容已经过时了,等我有空的时候把需要修改的部分重新整理出来
fix #15093 #15158