cfpb / sbl-frontend

Small Business Lending Filing Application
MIT License
2 stars 1 forks source link

[Bug] Icon misalignment on alerts without headings #1035

Open natalia-fitzgerald opened 3 weeks ago

natalia-fitzgerald commented 3 weeks ago

The current code for alerts does not include proper styling for how to position an icon when the alert does not include a heading. In the platform we have a need for alerts that are a lower level in terms of hierarchy and therefore there is a need to build in styling for alerts where the icon sits to the left of paragraph text.

If we wish to correct this at the source, this task will likely require a CFPB Design System update which will then feed into the DSR and then our platform.

Current behavior

Screenshot 2024-10-30 at 11 54 04 AM

Expected behavior

Screenshot 2024-10-30 at 12 33 41 PM