Update image.mdx (#66618)
Using `overflow: hidden` on the image's parent element is not necessary,
as the image is already set to be the same dimensions as its parent with
no overflow, and `object-fit` only changes the image aspect ratio & crop
within those dimensions.
Co-authored-by:
Steven <steven@ceriously.com>
Showing
Please
register
or
sign in
to comment