Skip to content

2/6 Mobile: viewport meta tags + normalized compensating CSS - #618

Open
mcfrank wants to merge 1 commit into
phase1-tech-debtfrom
phase2-mobile
Open

2/6 Mobile: viewport meta tags + normalized compensating CSS#618
mcfrank wants to merge 1 commit into
phase1-tech-debtfrom
phase2-mobile

Conversation

@mcfrank

@mcfrank mcfrank commented Jul 9, 2026

Copy link
Copy Markdown
Member

Part of the six-PR stack (merge after #617).

The participant-facing base templates had no viewport meta tag, so phones rendered the ~980px fallback viewport scaled down — and the small-screen CSS compensated with 40px body text, 46px icons, and 60px datepicker cells. This change is necessarily coupled: viewport tags added to all four bases, font scale normalized (16px phone / 18px desktop), compensations removed, checkboxes enlarged to real tap targets, phone gutters added.

Verified by phone- and desktop-size screenshots of home, background-info, and the vocabulary checklist; also fixes desktop artifacts (truncated labels, overflowing sidebar buttons). Note both copies of each stylesheet change in sync (app source + the tracked STATIC_ROOT copy — see the tech-debt catalogue re: un-tracking collected static).

🤖 Generated with Claude Code

…for them

The participant-facing base templates (cdi_base, administration_base,
registration base, home) had no viewport meta tag, so phones rendered
pages in the ~980px fallback viewport scaled down. The small-screen
CSS compensated with huge sizes (40px body text, 46px icons, 60px
datepicker cells); with a real viewport those compensations over-fire,
so this change is necessarily coupled: viewport tags added, font
scale normalized to 16px/18px, form-control and modal/datepicker
compensations removed, checkboxes/radios enlarged to comfortable tap
targets, and a small phone gutter added for pages without a Bootstrap
container.

Both copies of each stylesheet (app source and the tracked
STATIC_ROOT copy) are updated in sync.

Verified with phone- and desktop-size screenshots of the home page,
background-info form, and vocabulary checklist; also fixes desktop
artifacts (truncated item labels, overflowing sidebar buttons).

Co-Authored-By: Claude Fable 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