Updating to Pro 6.4.0 b3 on a site and an image in a header container now has additional css applied to it that is throwing out the layout.
Original header on Pro 6.3.9:
Issue with header in Pro 6.4.0 b3
This is the styling on the inner <img...
element in Pro 6.3.9:
As you can see, there are no element specific styling being applied, only integrity
base styles.
And then this is the same <img...
element in Pro 6.4.0 b3:
It is the width: 100%;
that is throwing this layout off, trying to fill the flex-box container in the header.
Previously, the object-fit
and object-position
properties were left out entirely if they were left as their defaults of fill
and 50% 50%
, but these are now being output.
In Pro 6.3.9, it is possible to give the mcs9-0.x-image img
a width: 100%
property by setting Size to 100%
:
Currently I can’t find a way to get the image to be auto
width in Pro 6.4.0 b3 without custom element CSS to override the width: 100%