diff --git a/ui/src/components/bench/SourceRow.vue b/ui/src/components/bench/SourceRow.vue index 82345c5..0dc2cad 100644 --- a/ui/src/components/bench/SourceRow.vue +++ b/ui/src/components/bench/SourceRow.vue @@ -119,7 +119,19 @@ const metaParts = computed(() => { 100% { background: color-mix(in srgb, var(--pa-g-to) 6%, transparent); } } .ft-item { display: flex; align-items: flex-start; gap: 8px; } -.ft-ico { flex: none; width: 16px; text-align: center; } +/* 2026-09-12 缺陷:ft-ico 固定 16px 装不下 paper_id 徽标(12 字符+…), + 文本溢出与 ft-name 重叠。改自适应宽度 + ellipsis 截断 + (badgeTitle 属性保留完整值)。 */ +.ft-ico { + flex: none; + width: auto; /* 覆盖 base.css .ft-item .ft-ico 的固定 16px——paper_id 徽标需按内容自适应 */ + min-width: 16px; + max-width: 96px; + text-align: left; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} .idx { color: var(--pa-ink-subtle); font-size: 11px; line-height: 1.7; } .src-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; } .src-line1 { display: flex; align-items: baseline; min-width: 0; }