fix: prevent campaign names from causing dashboard rows to overflow #1147
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.
Problem
This is a minor design issue I noticed during testing:
A particularly long campaign name causes the dashboard table to overflow its container. This doesn't look very good.
Solution
Improvements:
Copy of
to campaign names which don't already have it (explanation in commit 6a3db9a)Bug Fixes:
Before & After Screenshots
BEFORE:
Before screenshots
AFTER:
After screenshots
Tests
Duplicating a duplicated campaign should not prepend
Copy of
to the campaign's nameCopy of
at the start of its name.Copy of
to the new campaign's name.Table should not overflow the container
Deploy Notes
No deploy notes.
Todo
Copy of
prepending functionality works as intended?