Tune page: keep the SPSA parameter list to a bounded, scrollable height

The list used to grow with the number of parameters and pushed the results
table far down the page. It now scrolls inside the panel, with the filter and
sort bar staying in view, and jumps back to the top when the order or filter
changes.
This commit is contained in:
claude committed 2026-10-11 20:35:16 +02:00
1 parent 87886c5771
commit efc0a42f8b
2 files changed
+17

No files matched your search

+15
View File
@@ -43,6 +43,21 @@
#content .tune-page > .tune-side { grid-column: 1; grid-row: 2; }
}
/* ---------- The parameter list scrolls inside the panel ---------- */
/* With dozens of parameters the list ran the page down to the results table.
It now keeps to a bounded height; the filter and sort bar above it stays in
view. The small negative margin keeps focus rings from being clipped. */
#content .spsa-panel .spsa-rows {
max-height: min(60vh, 540px);
overflow-y: auto;
overscroll-behavior: contain;
scrollbar-width: thin;
margin-left: -4px;
padding-left: 4px;
padding-right: 8px;
}
/* ---------- Collapsible sections ---------- */
#content details.config-fold {
+2
View File
@@ -34,6 +34,8 @@
list.appendChild(row);
});
list.scrollTop = 0;
if (empty)
empty.hidden = shown !== 0;
}