fix(overlay): show every driver, compact rows beyond 12 (1.42.6)

The overlay page cut the leaderboard at 12 drivers. It now shows all of
them, with compact rows when there are more than 12 so they fit on a TV.
This commit is contained in:
larssand committed 2026-10-25 21:33:36 +01:00
1 parent 2c2b16537e
commit 0cabe1f96f
6 files changed
+29 -5

No files matched your search

+13
View File
@@ -4716,3 +4716,16 @@ tr.is-removed td.lap-actions {
/* RaceCore's own overlay: a driver row opens their training stats. */
.overlay-race-row.is-linked { cursor: pointer; }
.overlay-race-row.is-linked:hover .overlay-race-driver strong { text-decoration: underline; text-underline-offset: 3px; }
/* More than 12 cars: compact rows so every driver fits on a TV screen (renderOverlayLeaderboard). */
.overlay-race-list-compact .overlay-race-row {
padding-top: 2px;
padding-bottom: 2px;
}
.overlay-race-list-compact .overlay-race-metric label,
.overlay-race-list-compact .overlay-race-best label,
.overlay-race-list-compact .overlay-race-driver > span,
.overlay-race-list-compact .overlay-prediction,
.overlay-race-list-compact .overlay-decoder-meta {
display: none;
}