mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
The always-on "typical range = median ± MAD" caption was dropped from the vitals tiles because it repeated across every baseline tile — but that same inline caption, still rendered unconditionally on the four derived re-frame tiles (cardio fitness, vascular age, HRV, BMI), was squeezing the header row hard enough to clip the heading next to it: measured on the cardio-fitness tile, the "VO2 max" title's rendered width collapsed from 64px to 15px with the caption in the row, cutting it down to "V.". Confirmed and re-measured with a Playwright pass over the actual TileHeader/SparklineDeltaTile markup before touching the CSS. Replace the inline caption with a small (i) trigger (VitalsInfoTip) on the tile heading's trailing edge — a click-opened popover carrying the same method/caveat text plus the cited standard, matching the existing click-to-open info-tip pattern used elsewhere (touch-friendly, unlike a hover tooltip). Restore it on the VITALS_BASELINE tiles too, since a compact icon repeated across tiles doesn't clutter the way the full sentence did. The heading now keeps its full width regardless of how long the method copy runs.