fix(ui): SourceRow 徽标宽度级联修正(特异性提升)

上一提交的 .ft-ico width:auto 与 base.css 的 .ft-item .ft-ico
width:16px 特异性同为(0,2,0),bundle 中后者后发胜出,徽标仍被
裁成 16px。改 .source-row .ft-ico 提升特异性,生产实测徽标宽度
16px→86px,完整显示 paper_id 截断文本,与标题 8px gap 零重叠。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-12 18:38:07 +08:00
co-authored by Claude Fable 5
parent 18e69046f1
commit 8d115f8f1c
+2 -2
View File
@@ -122,9 +122,9 @@ const metaParts = computed(() => {
/* 2026-09-12 缺陷:ft-ico 固定 16px 装不下 paper_id 徽标(12 字符+…),
文本溢出与 ft-name 重叠。改自适应宽度 + ellipsis 截断
(badgeTitle 属性保留完整值)。 */
.ft-ico {
.source-row .ft-ico {
flex: none;
width: auto; /* 覆盖 base.css .ft-item .ft-ico 的固定 16px——paper_id 徽标需按内容自适应 */
width: auto; /* 覆盖 base.css .ft-item .ft-ico 的固定 16px——特异性(0,2,0)同级、需用 .source-row .ft-ico 更胜 */
min-width: 16px;
max-width: 96px;
text-align: left;