style(Top榜单): 标题大号文字与副标题小字垂直居中——统一 line-height:1
- .title h2 与 .sub 均设 line-height:1,消除行高差异导致的基线/盒子偏移 - flex align-items:center 改按字形中线对齐,副标题不再下沉
This commit is contained in:
@@ -200,8 +200,8 @@ watch([() => state.toplistProgress.running, () => state.toplistPullProgress.runn
|
||||
.page { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 16px; }
|
||||
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
|
||||
.title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
|
||||
.title h2 { font-size: 21px; margin: 0; letter-spacing: -.3px; }
|
||||
.sub { font-size: 12.5px; color: var(--ink-faint); display: inline-block; }
|
||||
.title h2 { font-size: 21px; margin: 0; letter-spacing: -.3px; line-height: 1; }
|
||||
.sub { font-size: 12.5px; color: var(--ink-faint); display: inline-block; line-height: 1; }
|
||||
.actions { display: flex; gap: 10px; }
|
||||
|
||||
.summary {
|
||||
|
||||
Reference in New Issue
Block a user