Unwanted whitespace with subgrids
Hello everyone. I don't find anything useful to help me understand why the first row on this codepen has that vertical whitespace (on the image it's the red area) when I put
I can fix this whitespace by putting
What I want is for the card to take a little height as possible and sharing the available space.
https://codepen.io/Uurshin/pen/pvgJLOP
gap: 30px on the grid container. I can fix this whitespace by putting
gap: 0 on the container but then I lose the vertical gap between the cards so it's not useful.What I want is for the card to take a little height as possible and sharing the available space.
https://codepen.io/Uurshin/pen/pvgJLOP


