Next.js Discord

Discord Forum

can somebody explain why this has a height of 0?

Answered
PunchedYou posted this in #help-forum
Open in Discord
Avatar
tried h-full and h-auto child elements are also 0 except the image somehow
Image
Answered by PunchedYou
I fixed it by giving the div flex-auto insted of h-auto now it works thanks for help guys
View full answer

3 Replies

Avatar
Share the image tag code
Avatar
I fixed it by giving the div flex-auto insted of h-auto now it works thanks for help guys
Answer