My component consists of divs with text inside, utilizing the overflow-wrap: break-word
property to ensure the text fits correctly. As seen in this image on PC screens: example
However, when I decrease the screen width, some words break and only certain divs change height, visible in this image for small screens: example
View the HTML markup here.
The issue at hand is how can I ensure that all the divs adjust size accordingly in this scenario?