RC1: Dynamic background-type stopped working properly

Hi!

I have some components where I dynamically choose between Image and Bg image.

{{dc:p:imageSettings.mediaType}}

Furthermore, This background image is used on an absolutely positioned div, which is inside another div that has padding top in percentages, to get the desired aspect ratio.

Everything was fine, but the new Pro is now stretching that image vertically.

Left side is what is happening now, and the right side is how it should look like.

I am aware of the new aspect ratio option, and i will switch to it eventually, but it would be great if there wasn’t this breaking change, since I would have to search for it and fix it on many websites.

1 Like

I should have a fix for you in RC2. Let me know if you have an issue when that is out. Thanks for sending this my way.

2 Likes