There was an issue with long variable value inserted into MessageCard - it was going out of the right edge of a card, like here:
The solution is to limit the width of the variable pill to up to 50% of the available width within a card and to show ellipsis is there are more characters than displayed:
Use MessageCard -> With variables story to see example
Guidelines
Make sure the pull request:
[ ] Follows the established folder/file structure
[ ] Adds unit tests
[ ] If it is a refactor or change to an existing component, have you verified it won't break existing Cypress tests or have you updated them?
[ ] Did you verify some accessibility (a11y) basics?
Problem/Feature
There was an issue with long variable value inserted into MessageCard - it was going out of the right edge of a card, like here:
The solution is to limit the width of the variable pill to up to 50% of the available width within a card and to show ellipsis is there are more characters than displayed:
Use
MessageCard -> With variables
story to see exampleGuidelines
Make sure the pull request:
proptypes
) Guidelines