feat(command-center): balance columns and open the calendar on the current GP

Move the paddock briefing under the season calendar in the main column so
the sidebar (championship + data note) stops running longer than the left
side of the dashboard.

Open the season strip scrolled to the round in focus rather than at round
one, so the relevant GP is centred on load. Re-centring repeats while the
strip reflows (font load, resize) and stops as soon as the reader scrolls
it themselves; the edge fade only applies when the strip actually overflows.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
AmanTahilianiandClaude Opus 5 committed 2026-08-08 12:48:15 -04:00
1 parent 3a377d0bc4
commit 3397352835
6 files changed
+72 -5

No files matched your search

+15 -1
View File
@@ -3357,7 +3357,13 @@ a { color: inherit; text-decoration: none; }
/* ── Command Center — Paddock Briefing preview strip ── */
.cc-briefing {
margin-top: var(--s7);
display: flex;
flex-direction: column;
gap: var(--s3);
}
.cc-briefing .sec-header {
margin-bottom: 0;
}
.briefing-state {
@@ -4835,9 +4841,17 @@ a { color: inherit; text-decoration: none; }
gap: 0;
padding: var(--s3) 0 var(--s4);
overflow-x: auto;
overscroll-behavior-x: contain;
scrollbar-width: thin;
}
/* The strip opens centred on the GP in focus, so rounds run off both edges —
fade them out rather than slicing a card in half. */
.cc-calendar-grid.is-scrollable {
-webkit-mask-image: linear-gradient(to right, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
mask-image: linear-gradient(to right, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
}
.cc-calendar-card {
min-width: 112px;
min-height: 138px;
-1
View File
@@ -156,7 +156,6 @@
display: flex;
align-items: center;
gap: var(--s2);
margin-bottom: var(--s3);
font-size: 11px;
color: var(--text-3);
font-family: var(--f-mono);