remove react-responsive-grid
This commit is contained in:
parent
f09cf63c38
commit
54825c373a
3 changed files with 4 additions and 50 deletions
|
|
@ -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>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue