The ask
Replace the candidate cards on the ballot guide with something easier to read.
What changed
- The candidates page is now one table per level (Federal, State, County, Judicial) with three columns: Race, Candidates and Who votes.
- Each candidate sits on its own line with party preference, ballot designation, an incumbent tag and the amount raised. Judicial rows say they are a yes or no vote on each justice.
- On phones each row stacks into a labeled block, with no sideways scrolling.
How
Claude edited the CA Ballot Portal plugin (v0.5.0) and deployed it with the portal’s deploy script over SSH and WP-CLI, then checked desktop and phone widths in a headless browser.
What worked / what didn’t
- Didn’t, at first: race names would not wrap on phones because a shared table rule set no-wrap, which pushed the page wider than the screen. A more specific rule fixed it.
- Staging only so far; production gets it on the next deploy.
Change record
| Harness | claude |
| Date | 2026-10-18 22:32 |
| Latest snapshot | 20261018-223152 |
| Undo this session | ops/rollback.sh --git 730eed1 |
Commits