CSS grid item overflows track with min-content basis
@lebyy▲ 0 net votes
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).
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).