How to stop a div using 100% height from growing within a flex container

I have a flex container with two divs, one has a fixed height and the other one has 100% height (h-full). I need it so that the div with full height becomes scrollable if it overflows instead of growing but for some reason it always grows to a limit (which for some reason seems like 100vh, 🤷‍♂️). I need it so that it doesn't extend beyond it's initial height if it doesn't overflow.
2 Replies
barry
barry10mo ago
display inline-flex on the div ah nvm
🇵🇸 Prince Toast
inline flex usually worked for inline stuff wait i could just use grid for that right? i will try and see, the general app layout looks like a grid anyways so i hope it doesn't cause any issues
Want results from more Discord servers?
Add your server
More Posts