Streaming live at 10am (PST)

How to constrain image size to paragraph size?

I basically have a flex box, containing two children side by side. One is a paragraph, the other is an image. I want to make sure that the image size is constrained by the size of the paragraph, so basically the image top == paragraph top, and the image bottom == paragraph bottom.

How can I accomplish this?

Currently the image size never changes, and instead the paragraph is much smaller than the image so it looks kinda wonky.

Here is my site Read-Only: LINK

Hey there,

I am currently working on a project where I have done exactly this (top paragraph/image). Follow the share link and take a look - I hope it helps :slight_smile:

Thank you! This helped so much :slight_smile:

You’re very welcome!