Page 1 of 1

Flexbox question

Posted: Fri Jun 14, 2019 9:01 pm
by pacstar
I have an image, with the flexbox settings for it at 1 1 100%
The problem I have is that in my break points the image is fine, but in the Default view it is expanding the image. Is there a way to keep the image from expanding past its original size?

Flex grid setting for the image block is Center/ Center / Stretch with the width set at 1fr (which needs to stay).

I just need the image to stop stretching once it hits it's Original Size.

Thanks

Re: Flexbox question

Posted: Fri Jun 14, 2019 11:03 pm
by crispy68
You can try setting a max-width on the flexbox container.