Description
In DataForm panel buttons, if the text is long and not hyphenated and doesn't contain spaces, then it'll overflow its container.
Should this have particular wrapping, or be truncated instead? Probably a design decision for the default behaviour.
Kudos @shaunandrews and @jasmussen for reporting.
Step-by-step reproduction instructions
To test in the post editor:
- Create a new user for your test site with a really long username with no hyphens
- Go to create a post and assign this post to that username
- See how the username can overflow the container
Screenshots, screen recording, code snippet
Username with no spaces / hyphens overflows its container
Note how the container overflows:
When the username contains hyphens
In this case it wraps, but still doesn't look very neat:
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
Description
In DataForm panel buttons, if the text is long and not hyphenated and doesn't contain spaces, then it'll overflow its container.
Should this have particular wrapping, or be truncated instead? Probably a design decision for the default behaviour.
Kudos @shaunandrews and @jasmussen for reporting.
Step-by-step reproduction instructions
To test in the post editor:
Screenshots, screen recording, code snippet
Username with no spaces / hyphens overflows its container
Note how the container overflows:
When the username contains hyphens
In this case it wraps, but still doesn't look very neat:
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.