Object-fit on Relative Styles

Another (presumably small) feature request here…

I’ve had a number of scenarios recently where I’ve wanted to set the object-fit property from a relative style, currently, that’s not possible, forcing a new dedicated class for images where object-fit is needed, so that the object fit can be set on the primary tab of the image class directly.

It seems to me that object-fit would fit well beside the new Aspect Ratio control on the Sizing Tab, like so:
image

As always, I appreciate the dedication of the Cwicly team :clap:

3 Likes

Would be a nice addition. Voted.

Hi @avunu and @owynter,

With 1.3.4.7, this is now possible as the object-fit property has been extended to all blocks:

Moving to done.

3 Likes