Here is the code that I am currently working with: https://codepen.io/allen-houng/pen/ExYKYdq
Additionally, you can find a gist of the code snippet below:
<div class="parent">
<div class="imageWrapper">
<img class="image" src="imageurl" />
</div>
<div class="textWrapper">
...lots of text
</div>
</div>
The parent container utilizes flexbox and has two children - imageWrapper and textWrapper. Is there a way to make the textWrapper div match the height of the image when scrolling, in case the content exceeds the height (without relying on javascript)?
Expected output screenshot: https://i.sstatic.net/xgDmo.png
Actual output screenshot: https://i.sstatic.net/IBFE4.png