Description
openedon Sep 18, 2024
Package
@carbon/react
Browser
No response
Package version
v1.66.0
React version
No response
Description
Toast notification messages that have a long title, but not a subtitle, appear too short due to their lack of bottom margin. This is because the title only has a top margin. The bottom margin only appears when the notification has a subtitle.
without a subtitle | with a subtitle |
---|---|
We need to fix the spacing to work in both cases.
Reproduction/example
Steps to reproduce
This issue can be observed in Storybook. Visit the above link or:
- Visit the
ToastNotification
Storybook. - Remove the default caption and subtitle.
- Add a long enough title so that it breaks into multiple lines.
Suggested Severity
Severity 3 = User can complete task, and/or has a workaround within the user experience of a given component.
Application/PAL
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
- I checked the current issues for duplicate problems
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Type
Projects
Status
✅ Done