Skip to content

Commit 38c99f5

Browse files
dcpenaOxyjun
andauthored
Apply suggestions from code review
Co-authored-by: Jun Lee <[email protected]>
1 parent f3f071b commit 38c99f5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/content/docs/images/transform-images/make-responsive-images.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ If you want to use WebP images, but do not need resizing, you have two options:
105105

106106
## Transform with `width` parameter
107107

108-
When setting up a [transformation URL](/images/transform-images/transform-via-url/#width), you can apply the width=auto option to serve the most optimal image based on the available information about the user's browser and device.
108+
When setting up a [transformation URL](/images/transform-images/transform-via-url/#width), you can apply the `width=auto` option to serve the most optimal image based on the available information about the user's browser and device.
109109

110110
This method can serve multiple sizes from a single URL. Currently, images will be served in one of four sizes:
111111

src/content/partials/images/width.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Available options are a specified width in pixels or `auto`.
2525
</TabItem>
2626
</Tabs>
2727

28-
Ideally, image sizes should match exactly the size they are displayed on the page. If the page contains thumbnails with markup such as `<img width="200">`, then you can resize the image by applying `width=200`.
28+
Ideally, image sizes should match the exact dimensions at which they are displayed on the page. If the page contains thumbnails with markup such as `<img width="200">`, then you can resize the image by applying `width=200`.
2929

3030
[To serve responsive images](/images/transform-images/make-responsive-images/#transform-with-html-srcset), you can use the HTML srcset element and apply width parameters.
3131

0 commit comments

Comments
 (0)