As you increase the font size, make sure that you also increase the line height.
I donβt think you want to go the way of programmatically setting the width of each div, let CSS do it for you. I assume you are not doing this yet, if so, try tuning it to auto. Finally, I can do better for you.
Sorry for the vague answer, but if you post the code, I will give you a more specific option.
Kjell source share