cds-snc / platform-forms-client

NextJS application that serves the public-facing website for Forms
https://forms-staging.cdssandbox.xyz/
MIT License
31 stars 12 forks source link

Preview extends beyond "Add form element" window forcing horizontal scroll #3910

Open anikbrazeau opened 6 days ago

anikbrazeau commented 6 days ago

Description

Inconsistent preview window for "Add form element" modal. Cuts off content for radio buttons, checkboxes, contact, and other elements.

Steps to reproduce

  1. Go to GC Forms Staging
  2. Click on Edit > Add form element
  3. Try previewing all form elements including radios, checkboxes, attestation, and contact
  4. See how the preview changes width for different elements

Details

Expected behaviour

Consistent layout, content contained in visible space

Screencapture

Private Zenhub Video

Additional context

Potentially related #2760 First noticed in user test session