Fix historic highs
This commit is contained in:
fraxle
2026-08-09 12:36:35 +01:00
parent bf882f441e
commit 9ce32f59e5
6 changed files with 64 additions and 25 deletions
+16
View File
@@ -1787,6 +1787,17 @@
white-space: pre-line; /* honour \n so multi-range windows stack one per line */
}
/* Secondary figure inside a value — currently the day's peak alongside the
climate anomaly. Inline where there is width; on its own line in the 240px
desktop rail, so the two numbers break deliberately rather than wherever
the text happens to run out of room. Nested inside .insight-value rather
than given its own grid area so rows without a sub keep their layout. */
.insight-sub {
font-weight: 500;
opacity: 0.72;
}
.insight-sub::before { content: ' '; }
/* Alert state - draws attention without being aggressive */
.insight-row--alert .insight-value {
color: #b84020;
@@ -1853,6 +1864,11 @@
grid-area: value;
text-align: left; /* value sits left-aligned under its label */
}
/* Rail is only 240px — the secondary figure takes its own line. */
.insight-panel--glance .insight-sub {
display: block;
}
.insight-panel--glance .insight-sub::before { content: none; }
}
/* ── Narrow screens - drop the rail below the table ─────────────────── */