CSS grid height exceeds limit
P粉068486220
P粉068486220 2023-08-28 13:04:25
0
1
477

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):

https://play.tailwindcss.com/eNhVFPmU4Z

It should have the same height as the parent component.

Is there any way to solve this problem?

P粉068486220
P粉068486220

reply all (1)
P粉739886290

Check:https://play.tailwindcss.com/pbEsTV05NP. I addedflexandflex-colto the parent element of that overflowing box.

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!