remove react-responsive-grid

This commit is contained in:
Antonio Argote 2018-04-23 17:02:05 +08:00
parent f09cf63c38
commit 54825c373a
3 changed files with 4 additions and 50 deletions

View file

@ -1,6 +1,5 @@
import React from 'react'
import Link from 'gatsby-link'
import { Container } from 'react-responsive-grid'
import { rhythm, scale } from '../utils/typography'
@ -58,15 +57,17 @@ class Template extends React.Component {
)
}
return (
<Container
<div
style={{
marginLeft: 'auto',
marginRight: 'auto',
maxWidth: rhythm(24),
padding: `${rhythm(1.5)} ${rhythm(3 / 4)}`,
}}
>
{header}
{children()}
</Container>
</div>
)
}
}