diff --git a/static/calendar.js b/static/calendar.js index af95f8b..d5d7a9a 100644 --- a/static/calendar.js +++ b/static/calendar.js @@ -290,7 +290,9 @@ filtersEl.addEventListener("change", (e) => { // Wire the per-season "Months" expand toggles (delegated on the stable container), // and the mobile floating pill that slides the whole filter panel up as a sheet. initSeasonExpand(seasonYearEl); -const calSheet = initFilterSheet({ panel: filtersEl, label: "Filters" }); +// On phones the "Color the calendar by" metric selector rides the filter sheet too. +const calSheet = initFilterSheet({ panel: filtersEl, label: "Filters", + sheetOnly: [document.getElementById("metric-block")] }); calSheet.setActive(checkedMonths.size < 12); // Close any open filter dropdown when tapping outside it (native
stays diff --git a/static/compare.html b/static/compare.html index f212b0d..45f7d86 100644 --- a/static/compare.html +++ b/static/compare.html @@ -57,31 +57,33 @@ -