Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
We created a pop up for the dashboard alert that contains both a title and subtext section, with an x in a circle icon to close out the pop up
Issues
We have not run into any issues so far besides the text not wrapping around, but this was fixed with using break-words and removing the height parameter in the box outline to allow for the text to expand down.
Screenshots
Test
You can test our code by adding text sections of various lengths in order to make sure the text wraps properly and expands downward as expected. You can also try to write special characters to see if it displays them properly.
Possible Downsides
If the title or subtext is too long, it can cover a large section of the page and hide the content behind it. This may be able to be avoided in the future by adding a see more button and see less buttons to be able to expand and hide the extended text.
Additional Documentations