Skip to content

Commit 7f4dfc9

Browse files
committed
minor tidy up of wrappers
1 parent 9460222 commit 7f4dfc9

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

css/main.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ img {
99
margin: 0;
1010
}
1111

12+
.headroom {
13+
box-shadow: 0 0 8px rgba( #000, 0.3 );
14+
}
15+
1216
.primary-navigation {
1317
display: flex;
1418
background: #fff;

pages/_template.jsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = React.createClass({
1717
},
1818
render () {
1919
return (
20-
<div>
20+
<div className="site-wrapper">
2121
<Headroom style={{background: '#fff'}}>
2222
<Container className="primary-navigation" >
2323
<Link to={prefixLink('/')} >
@@ -38,11 +38,7 @@ module.exports = React.createClass({
3838
</Container>
3939
</Headroom>
4040

41-
<Container
42-
style={{
43-
maxWidth: '100vw'
44-
}}
45-
>
41+
<Container style={{ maxWidth: '100vw' }} >
4642
{this.props.children}
4743
</Container>
4844
</div>

0 commit comments

Comments
 (0)