From bc1aac3424632c5484488c3662ea2a5122a7a342 Mon Sep 17 00:00:00 2001 From: Emi Griffith Date: Sat, 11 Jul 2026 19:23:28 -0700 Subject: [PATCH] Compare: temperature markers over slider handles; split range labels (#75) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make the comfort/tolerance slider self-explanatory and fix its labeling. - A temperature marker sits above each of the four handles (the band borders) — the two comfort bounds and the two tolerance bounds — so the numbers read straight off the track instead of a combined caption. - The header is now two disparate labels, "Comfort lo–hi" and "Tolerance tlo–thi", rather than the old "Comfort & tolerance 16–22 · tolerance 4–27" that mislabeled the comfort range. - Distribution-bar key: on desktop each category label is positioned at its segment's midpoint (ends pinned to the bar edges) so the labels line up under the colors they describe; on mobile it stays a plain wrapping row. --- static/compare.html | 13 +++++++++++-- static/compare.js | 27 +++++++++++++++++++++++---- static/style.css | 17 +++++++++++++++++ 3 files changed, 51 insertions(+), 6 deletions(-) diff --git a/static/compare.html b/static/compare.html index 92722b0..7208a4b 100644 --- a/static/compare.html +++ b/static/compare.html @@ -59,7 +59,16 @@ the date range or the location set trigger a data load. -->