Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Icon misalignment on alerts without headings #1035

Open
Tracked by #286
natalia-fitzgerald opened this issue Oct 30, 2024 · 0 comments
Open
Tracked by #286

[Bug] Icon misalignment on alerts without headings #1035

natalia-fitzgerald opened this issue Oct 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@natalia-fitzgerald
Copy link

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
@natalia-fitzgerald natalia-fitzgerald added the bug Something isn't working label Oct 30, 2024
@natalia-fitzgerald natalia-fitzgerald changed the title Icon mis-alignment on alerts without headings Icon misalignment on alerts without headings Oct 30, 2024
@natalia-fitzgerald natalia-fitzgerald changed the title Icon misalignment on alerts without headings [Bug] Icon misalignment on alerts without headings Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant