fix(panel): eliminate virtual-scroll column jitter in step table

- Lock measured thead column widths with table-layout: fixed once virtualized rows mount, preserving horizontal scroll min-width on narrow viewports and unlocking automatically on layout, sort, locale, font-scale, or sizer changes
- Fix buildColumnSizerSpec tokPerSec scoring bug and improve proportional width estimation across badges, models, timing, pending pricing, and bold first-column rows
- Enable tabular-nums on .data-table cells to prevent sub-pixel width drift between digits
This commit is contained in:
fish
2026-11-24 02:12:28 +09:00
parent f7ed2e0aa8
commit b76a5889ca
5 changed files with 336 additions and 70 deletions
@@ -56,6 +56,19 @@
white-space: nowrap;
}
.data-table td {
font-variant-numeric: tabular-nums;
}
.data-table.is-cols-locked {
table-layout: fixed;
}
.data-table.is-cols-locked td:not(:first-child) {
overflow: hidden;
text-overflow: ellipsis;
}
.data-table th.is-right,
.data-table td.is-right {
text-align: right;
@@ -140,6 +153,10 @@
height: 0;
}
.data-table tbody tr.step-vsizer.has-bold-first td:first-child {
font-weight: 600;
}
.step-vsizer-inner {
display: block;
height: 0;