department-of-veterans-affairs / vets-design-system-documentation

Repository for design.va.gov website
https://design.va.gov
36 stars 55 forks source link

Update Modal design: Reduce the padding on mobile to make content more readable #2933

Open babsdenney opened 2 weeks ago

babsdenney commented 2 weeks ago

Description

Update the modal component in Figma to reduce the space on the sides of the modal on mobile.

Details

We got this message in Slack about buttons that kind of pointed out some issues with the Modal on mobile. The modals have an excessive amount of unused space on the sides causing the important content in the modal to be squished and unreadable.

We talked this over with @humancompanion-usds and have some direction on design options.

  1. Change line height for the buttons after the typography changes have settled (ticket #2963 )
  2. Experiment with the padding in the content and the button but keep the title the same
  3. Experiment with the x (close button) padding.

Overall, we need to make modals more readable on mobile.

Tasks

Acceptance Criteria

Styles & Variables/Token

Auto layout

Properties

[!NOTE]

Not all components need every property. It will differ component to component

caw310 commented 2 weeks ago

Hey team! Please add your planning poker estimate with Zenhub @babsdenney @danbrady @LWWright7

humancompanion-usds commented 5 days ago

Yay! Thanks for picking up this work.