Skip to content

Commit

Permalink
docs(image.md): update layout property doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jhujhul committed May 14, 2021
1 parent ec9ed57 commit 1e21bc2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/api-reference/next/image.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,7 @@ When `responsive`, the image will scale the dimensions down for smaller
viewports and scale up for larger viewports.

When `fill`, the image will stretch both width and height to the dimensions of
the parent element, usually paired with
[object-fit](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit).
the parent element, usually paired with the [`objectFit`](#objectFit) property.

Try it out:

Expand Down

0 comments on commit 1e21bc2

Please sign in to comment.