Skip to content

Commit

Permalink
fix: image re resizes to browser
Browse files Browse the repository at this point in the history
  • Loading branch information
Cayla Hamann committed Aug 21, 2020
1 parent f3e1174 commit 7d122a3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
10 changes: 10 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,14 @@ const IndexPage = ({ data, pageContext }) => {
<Link to="/nerd-days">Learn more</Link>
</p>
</div>

<img
src={nerdDays}
alt="nerd days header"
<div
css={css`
flex: 1;
margin-top: 0;
`}
/>
>
<img src={nerdDays} alt="nerd days header" />
</div>
</section>

<section className={cx(styles.section, styles.stripedSection)}>
Expand Down

0 comments on commit 7d122a3

Please sign in to comment.