Is it possible to dynamically change the column width for grid items within the same container in material UI grid?
Sometimes I have 2 grid items that need to display in the same row, and other times I have 4 grid items that I want to appear in the same row with the same width (xs
). Here is a codebox example: the top container has two grid items, while the second container has 4 grid items that I want to be in the same row.
Check out this code sandbox for a demo: https://codesandbox.io/s/material-demo-forked-c09gtg?file=/demo.js