CSS Grid minmax(min-content, auto) overflow in nested flex containers
When defining a grid track size using minmax(min-content, auto) , the browser calculates the minimum boundary based on the intrinsic size of the children. However, when the grid item is a nested flex container, the layout often fails to shrink the track to the expected minimum, resulting in horizontal overflow. The issue arises because the min-content calcul