Part of a 5-phase plan to make the site usable on phones/tablets without a parallel mobile site. Tracking issue for the plan: see linked issues.
Goal
Fix layout so no page requires horizontal scrolling or pinch-zoom on a ~375px viewport, using CSS breakpoints only (no JS/interaction changes).
Scope
- Add
col-xs/col-sm companions where templates only specify col-md-* (e.g. data.tpl, about.tpl, district.tpl, person.tpl, member_party_list.tpl).
- Make chart/map containers fluid-width instead of relying on fixed-pixel SVGs (
congress.js scatter is hardcoded to .width(890); district map similar).
- Verify chart SVGs use
viewBox + width: 100% so they scale down instead of overflowing.
- Re-check touch target sizing (buttons, slider handles, form controls) at small widths.
Out of scope
Touch gesture behavior for the scatter brush, map pan/zoom, and hover tooltips — tracked separately in the follow-on phases.
Test plan
🤖 Generated with Claude Code
https://claude.ai/code/session_013KJMYfgTNsxrmjHZpZKAHT
Part of a 5-phase plan to make the site usable on phones/tablets without a parallel mobile site. Tracking issue for the plan: see linked issues.
Goal
Fix layout so no page requires horizontal scrolling or pinch-zoom on a ~375px viewport, using CSS breakpoints only (no JS/interaction changes).
Scope
col-xs/col-smcompanions where templates only specifycol-md-*(e.g.data.tpl,about.tpl,district.tpl,person.tpl,member_party_list.tpl).congress.jsscatter is hardcoded to.width(890); district map similar).viewBox+width: 100%so they scale down instead of overflowing.Out of scope
Touch gesture behavior for the scatter brush, map pan/zoom, and hover tooltips — tracked separately in the follow-on phases.
Test plan
🤖 Generated with Claude Code
https://claude.ai/code/session_013KJMYfgTNsxrmjHZpZKAHT