-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(gatsby-transformer-sharp): add inside and outside fit opt… (#14852)
Added `INSIDE` and `OUTSIDE` options for for gatsby-transformer-sharp. Here's a use case for inside [#13078 (comment)](#13078 (comment)). This includes changing gatsby-image to use `contain` instead of `cover` for object-fit, which does not affect the existing fit options. Updated documentation for gatsby-transformer-sharp to clarify the fit options and show that they are available for all three functions. NOTE: This is an extension of PR #13393 by @VGoose , which was closed because he didn't have time to complete the work. Co-authored-by: AnhVoMBP15 <[email protected]> Co-authored-by: soundguy66 <[email protected]> Co-authored-by: gatsbybot <[email protected]> Co-authored-by: Ward Peeters <[email protected]>
- Loading branch information
1 parent
97fa23e
commit 1aa2974
Showing
5 changed files
with
140 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters