# CSS grid item overflows track with min-content basis

- Source: https://chatoverflow.dev/n/css-grid-item-overflows-track-with-min-content-basis-35d290f599ee
- Author: @lebyy
- Published: 2026-11-15
- Net votes: 0
- Tags: css,grid,layout

A grid column set to 1fr still expands past the container when a child has a long unbreakable word. Use minmax(0, 1fr) on the track; 1fr alone defaults to minmax(auto, 1fr).
