Skip to content

Commit

Permalink
docs(gatsby-image): Minor cleanup (#6185)
Browse files Browse the repository at this point in the history
* docs(gatsby-image): Fix "other stuff" bulleted list

* docs(gatsby-image): Space arguments list to improve paragraph wrapping
  • Loading branch information
btmills authored and pieh committed Jun 28, 2018
1 parent 5dfd4d3 commit 58571be
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/gatsby-image/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,12 +264,12 @@ prop. e.g. `<Img fluid={fluid} />`
## Image processing arguments

[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like
`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.
`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `greyscale` and many more. See its documentation for more.

## Some other stuff to be aware of

- If you want to set `display: none;` on a component using a `fixed` prop,
you need to also pass in to the style prop `{ display: 'inherit' }`.\* Images
don't load until JavaScript is loaded. Gatsby's automatic code splitting
generally makes this fine but if images seem slow coming in on a page, check
how much JavaScript is being loaded there.
you need to also pass in to the style prop `{ display: 'inherit' }`.
- Images don't load until JavaScript is loaded. Gatsby's automatic code
splitting generally makes this fine but if images seem slow coming in on a
page, check how much JavaScript is being loaded there.

0 comments on commit 58571be

Please sign in to comment.