Skip to content

Commit

Permalink
Increased max width of images to reduce image pixelation at high land…
Browse files Browse the repository at this point in the history
…scape resolutions

This wouldn't be needed once gatsbyjs/gatsby#13395 is available
  • Loading branch information
FTWinston committed May 12, 2019
1 parent 6ac7d26 commit 611630d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
// It's important to specify the maxWidth (in pixels) of
// the content container as this plugin uses this as the
// base for generating different widths of each image.
maxWidth: 960,
maxWidth: 1600,
},
},
],
Expand Down
2 changes: 1 addition & 1 deletion src/components/AllHomepageSections.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default () =>
title
image {
childImageSharp {
fluid(maxWidth: 960) {
fluid(maxWidth: 1600) {
...GatsbyImageSharpFluid
}
}
Expand Down

0 comments on commit 611630d

Please sign in to comment.