Give the match history table fixed columns
CI / Build and push docker image (push) Successful in 1m6s

Rows rendered only their own match's team labels while the header was
the union across all loaded matches. Scopone and briscola have two team
labels and briscola chiamata has three, so a mixed history produced a
five-column header above rows with two or three team cells - every cell
after them (score, winner, you, elo) landed under the wrong header, and
the columns changed with the set of game types loaded.

Replace the variable team columns with a single "Teams" column: the
table is now Finished | Game | Teams | Score | Winner | You | Elo for
every game. The cell lists each team or role on its own line, ordered
Chiamante/Socio/Difensori for chiamata and alphabetically (Team A,
Team B, ...) otherwise, with team-less players last; names read
"Bob, Carol & Dave".
This commit is contained in:
2026-10-09 09:18:46 +08:00
parent 0f9fb9b6bb
commit 4ba5ae1434
2 changed files with 155 additions and 44 deletions
+8
View File
@@ -871,3 +871,11 @@ body {
max-width: 100%;
}
}
/* ---------- match history ---------- */
/* One line per team inside the "Teams" cell of the history table. */
.match-team {
font-size: 0.85rem;
line-height: 1.4;
}