Breaking the Grid Two ways to break CSS Grid and how to fix it

medium bookmark / Raindrop.io |

As a Front-End developer nothing bothers me more than seeing an unexpected horizontal scrollbar on a website. While building out a checkout layout with CSS Grid I was surprised to find something mysterious was breaking the container. I thought Grid sort of auto-solved sizing.

Eventua…