Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfiCVCgCVJZq4NDEqZs
1.2 KiB
1.2 KiB
Tasks
1. Portal
-
1.1
CmsBlocks.tsx:- a TRUST band uses
py-5; other bands keeppy-12; - the full-width hero grid uses
pt-8 pb-8; - the hero form card uses
space-y-3.
RegistrationForm.tsx, compact only:space-y-3between fields, andtext-smin the consent box.Verify: render tests fail first, then pass; vitest exit 0, tsc and lint clean.
- a TRUST band uses
2. Verification
- 2.1 Use Playwright on port 3001 to measure
/p/INS/hotel-technologyat 1920×1080: the trust strip's bottom is at most 950 px, and the controls are at least 44 px tall. Take screenshots at 1920×1080, 1280×900 and 390 px. - 2.2 Run
openspec validate add-hero-fits-screen --strict.
Notes (2026-12-04)
- Red first: the new render tests failed on the trust band padding, the hero padding, the card gap, the compact form gap and the consent text size.
- Changed existing tests: none.
- Measured on
/p/INS/hotel-technologyat 1920×1080 with Playwright:- before: hero 886 px, trust strip bottom 1077 px;
- with
pt-10 pb-10: 953 px, still over the 950 px target, so the hero padding becamept-8 pb-8; - final: hero 802 px, trust strip bottom 937 px. Every text field, the dropdown and the Register button are 44 px.