HTML table responsiveness error

Ive been using streamlit for some time and im using the pandas.styled html tables in my app.

but some times the visuals dont respect the columns makes the following error sometimes when loading the page.

This has happend with html tables and when using plotly figures side by side, anyway to prevent these types of errors.

for the html table example heres an image of the error ocorring and a code snippet.

The current structure of the code is the following:

Screenshot 2022-08-14 212740

Any tips on how to structure the code so that these type of errors dont ocurr where multiple figures dont respect the limits of the columns?

Thanks in advanced! streamlit is awesome!