fix(panel): preserve post-compaction context breakdown, fit 100% capsule slot, and align compact badge accent

This commit is contained in:
fish
2026-11-18 12:41:32 +09:00
parent d4d359bc89
commit 6a7a338e17
10 changed files with 440 additions and 134 deletions
+6 -4
View File
@@ -232,11 +232,11 @@
flex-shrink: 0;
}
/* 环形上下文指示器(固定预占宽度 50px:14px 环 + 5px 间距 + 31px 百分比槽位) */
/* 环形上下文指示器(固定预占宽度 58px:14px 环 + 5px 间距 + 完整容纳四字符 100%) */
.wm-ctx-seg {
justify-content: center;
gap: 5px;
width: 50px;
width: 58px;
}
.wm-ring-svg {
@@ -271,8 +271,10 @@
}
.wm-ctx-pct {
min-width: 27px;
max-width: 31px;
min-width: 28px;
max-width: none;
overflow: visible;
text-overflow: clip;
text-align: left;
font-weight: 500;
color: var(--text-primary);
+1 -1
View File
@@ -95,7 +95,7 @@
.step-model-compact {
flex-shrink: 0;
white-space: nowrap;
color: var(--metric-info, var(--accent-primary));
color: var(--accent-primary);
font-weight: 500;
}