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 %}