Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/content/docs/en/reference/configuration-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1138,16 +1138,15 @@ You can use wildcards to define the permitted `hostname` and `pathname` values a
<p>

**Type:** `boolean`<br />
**Default:** `false`
**Default:** `false`<br />
<Since v="5.10.0" />
</p>

Whether to automatically add global styles for responsive images. You should enable this option unless you are styling the images yourself.

This option is only used when `layout` is set to `constrained`, `full-width`, or `fixed` using the configuration or the `layout` prop on the image component.

See [the Images guide](/en/guides/images/#responsive-image-styles) for more information.

See [the images docs](/en/guides/images/#responsive-image-styles) for more information.

### image.layout

Expand Down Expand Up @@ -1188,7 +1187,8 @@ See [the `fit` component property](/en/reference/modules/astro-assets/#fit) for
<Since v="5.10.0" />
</p>

The default [`object-position` CSS property value](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) for responsive images. Can be overridden by the `position` prop on an individual image component. Requires a value for `layout` to be set.
The default [`object-position` CSS property value](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) for responsive images. Can be overridden by the `position` prop on the image component.
Requires a value for `layout` to be set.

See [the `position` component property](/en/reference/modules/astro-assets/#position) for more details.

Expand Down