prevent overflow css grid code example Example: css prevent grid blowout .foo { display: grid; grid-template-columns: auto minmax(0,1fr); }