Skip to content

Commit

Permalink
Fix Background and fit property fixes imgix#268
Browse files Browse the repository at this point in the history
  • Loading branch information
verbeeksteven authored Jan 25, 2019
1 parent 2758c83 commit c549a94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/react-imgix-bg.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const BackgroundImpl = props => {
...(disableLibraryParam ? {} : { ixlib: `react-${PACKAGE_VERSION}` }),
width,
height,
fit: "crop",
fit: (imgixParams.fit) ? imgixParams.fit : "crop",
dpr
};

Expand Down

0 comments on commit c549a94

Please sign in to comment.