Repository navigation
fix(ui): 行内 code 方块加高,链接虚线下划线与方块底边分离 - #315
Merged
Merged
Conversation
.md-body code 的 vertical padding 从 .15em 加到 .45em(上下对称,文字保持 垂直居中)。链接里的 code 芯片原来底边框与 a 的 dashed 下划线 (text-underline-offset: 3px,同色 var(--border))几乎贴在一起,虚线 完全看不出来。 像素级实测(表格内链接芯片,font 12.25px): 修改前 下划线与底边框间距 ≈ 2px,肉眼糊成一条 修改后 间距 3px 干净空白,虚线与实线明确两条线(y461-463 vs y467) 对称 padding 保证垂直居中:文字上下各 5.5px。行内散文芯片同行高 (line-height 1.7 已容纳),pre code 的 padding:0 覆盖不受影响。 版本 0.30.8 → 0.30.9。
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.
.md-body code vertical padding .15em → .45em(上下对称,文字垂直居中)。链接内 code 芯片的底边框与 dashed 下划线原来几乎重合(间距≈2px),现间距 3px 干净空白,像素级实测确认两条线分离。pre code 不受影响。版本 0.30.8 → 0.30.9。