Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

Commit

Permalink
fix: removed outerWrapperClassName
Browse files Browse the repository at this point in the history
  • Loading branch information
CanRau committed Oct 6, 2018
1 parent c5709cd commit 5f97762
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
8 changes: 4 additions & 4 deletions src/templates/HomePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -411,13 +411,13 @@ const KeyPrinciples = ({ title, content, ...props }) => (
<Img
key={key}
fluid={x.images[key].image.fluid}
outerWrapperClassName={css({
css={{
width: `120px`,
[media.greaterThan(`xsmall`)]: {
width: `153px`,
},
margin: `.2rem`,
})}
}}
/>
))}
</div>
Expand Down Expand Up @@ -477,13 +477,13 @@ const KeyPrinciples = ({ title, content, ...props }) => (
<Img
key={key}
fluid={x.images[key].image.fluid}
outerWrapperClassName={css({
css={{
width: `120px`,
[media.greaterThan(`xsmall`)]: {
width: `153px`,
},
margin: `.2rem`,
})}
}}
/>
))}
</div>
Expand Down
7 changes: 4 additions & 3 deletions src/templates/SupportPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,12 @@ const SupportPage = props => {
<Img
fluid={props.data.page.frontmatter.assets[x].image.fluid}
key={x}
outerWrapperClassName={css({
css={{
flex: `none`,
marginBottom: `1rem`,
})}
css={{ width: `112px` }}
width: `112px`,
'& img': { objectFit: `contain !important` },
}}
/>
))}
</div>
Expand Down

0 comments on commit 5f97762

Please sign in to comment.