I am trying to create a main sidebar content layout, with an unknown amout of row items. The width defination is 2fr main and 1fr for sidebar. The initial setup looks as following:
However the problem now is the whitespace that is created. So after searching I found grid-auto-flow: dense;
which states to fill empty spaces. The result of this leads to:
Although this removes the empty spaces it now "stretches" the rows, to fit the content next to it, which is not what is wanted.
So what wichcraft is needed to fix it so there is no empty space but the child elements fit the height content and to create a continues main / sidebar?