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

Repository for design.va.gov website
https://design.va.gov
40 stars 61 forks source link

Alert component text alignment in wide settings #3419

Open jrfbz opened 2 days ago

jrfbz commented 2 days ago

Bug Report

What happened

Beyond a width of 1056px, the alert text box starts drifting right. @babsdenney has mentioned that the USWDS components do not do this and it is a bug. Happens in all alert severities, slim and normal, as far as I can tell.

Image

What I expected to happen

For the text within the alert to stay left-aligned in the container.

Urgency

How urgent is this request? Please select the appropriate option below and/or provide details

Details

I did not check whether the alert in production does this, I am only commenting on the Figma component.

caw310 commented 2 days ago

Hey team! Please add your planning poker estimate with Zenhub @Andrew565 @ataker @harshil1793 @it-harrison @jamigibbs @micahchiang @powellkerry @rmessina1010 @rsmithadhoc