Skip to main content

How do I easily change container of an image when replacing the image with image with other dimensions/size?

I want the container to resize to the new image size/dimensions?

Figma