Allow images to retain aspect-ratio on image override in component
Hi there! I have been designing a component that uses an image:
This is all fine so far, but when I try to replace the image, the new image does not retain its aspect ratio (you can see how the example image of the mountains is very squashed along the x-axis):
Preferably, I would like to be able to describe a max-height or max-width for the component image, and consequently, the image override would retain its aspect ratio while conforming to the component.
I would love to see something like this in the future to allow for more powerful and dynamic components. Thanks!