Skip to content

Commit

Permalink
fix(gatsby-plugin-image): Correct img CSS (#28317) (#28323)
Browse files Browse the repository at this point in the history
(cherry picked from commit bfd86df)

Co-authored-by: Matt Kane <matt@gatsbyjs.com>
  • Loading branch information
pieh and ascorbic committed Nov 27, 2020
1 parent aa9df5c commit cbce121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-image/src/gatsby-ssr.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function onRenderBody({ setHeadComponents }: RenderBodyArgs): void {
key="gatsby-image-style"
dangerouslySetInnerHTML={generateHtml(cssNanoMacro`
.gatsby-image-wrapper img {
all: initial;
all: inherit;
bottom: 0;
height: 100%;
left: 0;
Expand Down

0 comments on commit cbce121

Please sign in to comment.