mirror of
https://github.com/lWolvesl/antigravity-usage-monitor.git
synced 2026-11-26 17:09:28 +08:00
perf(panel): virtualize large step tables and optimize steps view switching and LOESS fit
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
|
||||
.table-viewport.is-step-table {
|
||||
overflow-x: auto;
|
||||
overflow-anchor: none;
|
||||
}
|
||||
|
||||
/* --- 2. 粘性表头数据表 (Sticky-Header Data Table) --- */
|
||||
@@ -72,10 +73,44 @@
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.data-table tbody tr:hover {
|
||||
.data-table tbody tr:not(.step-vspacer):not(.step-vsizer):hover {
|
||||
background: var(--surface-hover);
|
||||
}
|
||||
|
||||
.data-table tbody tr.step-vspacer,
|
||||
.data-table tbody tr.step-vspacer:hover,
|
||||
.data-table tbody tr.step-vsizer,
|
||||
.data-table tbody tr.step-vsizer:hover {
|
||||
background: transparent !important;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.data-table tbody tr.step-vsizer {
|
||||
visibility: hidden;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.data-table tbody tr.step-vsizer td {
|
||||
padding-top: 0 !important;
|
||||
padding-bottom: 0 !important;
|
||||
border: none !important;
|
||||
line-height: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.step-vsizer-inner {
|
||||
display: block;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.data-table tbody tr.step-vspacer td.step-vspacer-cell {
|
||||
padding: 0 !important;
|
||||
border: none !important;
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
.step-model-cell {
|
||||
display: inline-flex;
|
||||
align-items: baseline;
|
||||
|
||||
Reference in New Issue
Block a user