Text not fully visible in zoom in mode

We have been working on Plotly with React.js
There is a scenario which really affects the UI.


Whenever the user tries to zoom in their browser, The title of a particular graph gets overflown outside the plot container and getting hidden due to the overflow.
We have tried some of UI changes which didn’t work fine. Turns out all these are happening within the plotly’s container. Some of the changes that we made with the styles did affect other charts in the page.
Is there any solutions that we can use like word break or any.

Any workaround for this would be great.