From 0167e19057cc9e13dcdf0dc18f92ba7109730dca Mon Sep 17 00:00:00 2001 From: claude Date: Sun, 11 Oct 2026 20:42:25 +0200 Subject: [PATCH] Tune page: collapsible Results by Machine, padding inside the progress panel and below Modify - Results by Machine is a fold on Tune pages, closed by default, like the other secondary sections. - .card has no padding of its own, so the content of the Tuning progress panel ran up to the border. It now keeps 16px clear on both sides and at the bottom. - The Actions card ended on the Modify button with 4px below it; it now has 16px. --- OpenBench/static/spsa_chart.css | 21 +++++++++++++++++++-- Templates/OpenBench/workload.html | 6 +++--- 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/OpenBench/static/spsa_chart.css b/OpenBench/static/spsa_chart.css index 06332f6..c75499e 100644 --- a/OpenBench/static/spsa_chart.css +++ b/OpenBench/static/spsa_chart.css @@ -43,17 +43,34 @@ #content .tune-page > .tune-side { grid-column: 1; grid-row: 2; } } +/* ---------- Spacing inside the cards ---------- */ + +/* .card has no padding of its own: only its header is padded, so whatever + follows has to keep clear of the border by itself. */ +#content .spsa-panel { padding-bottom: 16px; } + +#content .spsa-panel > :not(.card-head) { + margin-left: 16px; + margin-right: 16px; +} + +#content .spsa-panel > .card-head + * { margin-top: 14px; } + +/* The Modify button ends the Actions card and used to sit 4px from its edge */ +#content .workload-container #actions { padding-bottom: 16px; } +#content .workload-container #actions .llr-history-panel { margin-bottom: 0; } + /* ---------- 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. */ + view. The left padding 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; + margin-left: 12px; padding-left: 4px; padding-right: 8px; } diff --git a/Templates/OpenBench/workload.html b/Templates/OpenBench/workload.html index 68594f5..291b288 100644 --- a/Templates/OpenBench/workload.html +++ b/Templates/OpenBench/workload.html @@ -306,8 +306,8 @@ {% endif %} -
-

Results by Machine

+ {% if type == "TUNE" %}
Results by Machine{{ results|length }} machine{{ results|length|pluralize }}, games and results{% else %}
+

Results by Machine

{% endif %} @@ -336,7 +336,7 @@ {% endfor %}
#
-
+ {% if type == "TUNE" %}
{% else %}
{% endif %} {% if type == "TUNE" %}{% endif %}