Skip to content

Keep the registrants page as wide as the window on phones - #3149

Draft
maebeale wants to merge 1 commit into
mainfrom
column-switches-page-width
Draft

maebeale wants to merge 1 commit into
mainfrom
column-switches-page-width

Conversation

@maebeale

@maebeale maebeale commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

🤖 suggested review level: 1 Skim 👀 two CSS classes plus a regression spec

On phones the registrants page scrolled sideways and showed a blank strip above the menu bar, and most column switches were out of reach.

What is the goal of this PR and why is this important?

  • Each column switch's hidden checkbox escaped the card's clipping and stretched the page to ~1050px.
  • The sticky navbar then sat offset, leaving white space above it.
  • The switch row never wrapped, so switches past the edge were clipped.

How did you approach the change?

  • relative on the switch label keeps its checkbox inside the card (fixes both pages using the switch).
  • The registrants switch row now wraps, matching form submissions.
  • System spec at 566px checks page width and that every switch is on screen; it fails without the fix.

Features seed (optional)

  • Added a features seed (optional)

UI Testing Checklist

  • Registrants page at phone width: no sideways scroll, all switches reachable
  • Registrants page on desktop: switches still sit to the right of Active/Inactive
  • Form submissions column switches still toggle columns

Anything else to add?

  • A desktop white strip on admin home in prod looks like a separate cause; still investigating.

🤖 Generated with Claude Code

Each column switch's screen-reader checkbox is absolutely positioned with no
positioned ancestor inside the card, so it escaped the card's clipping and
stretched the page to ~1050px. On narrow screens that left the sticky navbar
offset and a blank strip above it. The switch row also never wrapped, so most
switches were clipped out of reach.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant