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.
This commit is contained in:
claude committed 2026-10-11 20:42:25 +02:00
1 parent efc0a42f8b
commit 0167e19057
2 files changed
+22 -5

No files matched your search

+19 -2
View File
@@ -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;
}
+3 -3
View File
@@ -306,8 +306,8 @@
</details>
{% endif %}
<div id="results" class="card">
<header class="card-head"><h2 class="card-title">Results by Machine</h2></header>
{% if type == "TUNE" %}<details id="results" class="card config-fold"><summary><span class="card-title">Results by Machine</span><span class="config-hint">{{ results|length }} machine{{ results|length|pluralize }}, games and results</span></summary>{% else %}<div id="results" class="card">
<header class="card-head"><h2 class="card-title">Results by Machine</h2></header>{% endif %}
<table class="stripes wrappable">
<tr class="table-header">
<th>#</th>
@@ -336,7 +336,7 @@
</tr>
{% endfor %}
</table>
</div>
{% if type == "TUNE" %}</details>{% else %}</div>{% endif %}
{% if type == "TUNE" %}</div><!-- /tune-main -->{% endif %}
</div>