[Block] Navigation: Long Menu Titles do not break-word in order to wrap within Columns block #52298
Labels
[Block] Navigation
Affects the Navigation Block
[Type] Bug
An existing feature does not function as intended
Description
If a Navigation block is set up in a Columns block, and one menu item has a long single word (with no spaces or hyphens), the menu item doesn't wrap at the edge of the column it's nested in; it overflows into the next column.
Step-by-step reproduction instructions
Vertical
under the block settings)Supercalifragilisticexpialidocious
Instead of wrapping the long word to contain it within the column, the nav block flows right off the side of the column.
Context
While
Supercalifragilisticexpialidocious
is not a likely menu item name, but words such asDocumentation
,Photojournalism
,Notifications
could certainly run into this type of issue in a vertical menu / column layout setup.Screenshots, screen recording, code snippet
It seems this is caused by the
word-break: normal
in this CSS:Screen.Capture.on.2023-07-04.at.17-07-52.mp4
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: