Records: show longest dry streak instead of record-low precipitation (#105)

Record-low rainfall is meaningless (always ~0), so the precip row's low side now
shows the longest run of consecutive days without measurable rain and the date that
dry spell began (grading.longest_dry_streak), keeping the wettest day on the high
side. A footnote explains the substitution.
This commit is contained in:
Emi Griffith 2026-07-15 20:28:26 -07:00 committed by GitHub
parent f0f9c73cac
commit 0e895d55d8

View file

@ -1471,6 +1471,7 @@ table.normals-table { border-collapse: collapse; width: 100%; margin: 8px 0; fon
/* Records has 5 columns give it a floor width so it scrolls inside .table-wrap on
narrow screens instead of overlapping. */
table.records-table { min-width: 560px; }
.records-note { font-size: 13px; margin-top: 10px; }
table.normals-table th:first-child, table.normals-table td:first-child { width: 26%; }
table.normals-table th, table.normals-table td { padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
table.normals-table thead th { color: var(--muted); font-weight: 600; font-size: 13px; }