I'd like to show the MUI CircularProgress component as big as needed to nearly fill the parent div of an unknown size. Let's say, the size should be 0.8 * min(parent_height, parent_width). I tried fooling with max-width and whatever with no success.
I could use some useDimension hook and measure the parent's size, but I consider it to be the last resort. There must be a pure CSS solution, am I right?