CSS grid height exceeds limit
P粉068486220
2023-08-28 13:04:25
<p>I created two columns using CSS grid (in TailwindCss). The problem is that the height of the second column covers its parent element (see dashed line): </p>
<p>https://play.tailwindcss.com/eNhVFPmU4Z</p>
<p>It should have the same height as the parent component. </p>
<p>Is there any way to solve this problem? </p>
Check: https://play.tailwindcss.com/pbEsTV05NP. I added
flex
andflex-col
to the parent element of that overflowing box.