Accordion menus headings not word wrapping


I could not seem to find if this has been reported before, but Accordion menu titles are not word wrapping so that they appear like the below image.

This really makes them very challenging to read, to the point where we cannot use them.  Is there a fix for this?  Thanks!


Accordion Menu Long Title Text Not Wrapping in Moodle

Accordion Menu title text is not wrapping for long titles in the panels and words within the title are being split over multiple lines. For example, the word 'discombobulated' may be split to read 'discom' at the end of the first line and then 'bobulated' will be on the second line. This is occurring in both the embedded display option and also within the H5P activity.

The instructions to recreate the issue are below: