E303 - object_fit is required when both dimensions are numeric¶
Cause¶
An image or image_sequence element has both width: and height:
set (numeric or animated) but no object_fit: field. With both
dimensions fixed, the renderer needs to know how the image should fit
its box.
Example¶
{ image: "a.png", width: 100, height: 50 } // no object_fit
How to fix¶
Add an object_fit: policy: "cover", "contain", or "fill".