if I create a div and set it to 300 px height and then place an image in it that is set to 100% width and object fit to cover, I get a full VH div with and image that is 300 px high and spans the whole with.
When I put this combination into a component, the image does what it wants and is no longer contained by the div. Other settings with the image in the component also give different results from the default editor.
Is this a bug or am I missing something here?
Could it be that the image default for height is not set to inherit?
- Browser: Firefox
- WordPress version: 6.3.1
- Cwicly Plugin version: 126.96.36.199