Can a CSS grid adjust its widths dynamically based on the content of its children?
I believe not, but I wanted to confirm.
I attempted this approach without success.
const Grid = styled.div`
display: grid;
grid-auto-flow: row;
grid-template-columns: repeat(auto-fill, minmax(min-content, 1fr));
grid-template-rows: repeat(auto-fill, 1fr);
column-gap: 10px;
row-gap: 20px;
`;