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