iter(g275): 新增相对时间组件
This commit is contained in:
@@ -5779,3 +5779,10 @@ h5.ua-type-title { font-size: var(--ua-font-size-md); }
|
||||
color: var(--ua-color-text-secondary);
|
||||
font-size: var(--ua-font-size-sm);
|
||||
}
|
||||
|
||||
/* ---- 相对时间:文字色与正文一致,靠 title 提供精确值,不做下划线等「可点」暗示(它不可点) ---- */
|
||||
.ua-reltime {
|
||||
color: inherit;
|
||||
font-variant-numeric: tabular-nums; /* 等宽数字:列表里时间列不左右抖动 */
|
||||
white-space: nowrap; /* 「3 分钟前」不该被折成两行 */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user