Skip to content

Commit 6b8d8c3

Browse files
committed
Make container spacing consistent
1 parent 43ab235 commit 6b8d8c3

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

components/Container.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import React from 'react'
22
import classNames from 'classnames'
33

4-
export default ({ className = '', ph, ...props }) => {
4+
export default ({ className = '', padding, ...props }) => {
55
const cx = classNames(className, 'mw9 center', {
6-
'ph3 ph5-m ph0-l': ph
6+
'ph3 ph5-m ph5-l': padding
77
})
88
return <div className={cx} {...props} />
99
}

components/Header.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import Flex from './Flex'
55
import { NavLink, TitleLink } from './ui'
66

77
export default ({ version }) => (
8-
<header className="w-100 pa3 ph5-ns bg-white">
9-
<Container>
8+
<header className="pv3">
9+
<Container padding={true}>
1010
<Flex justify="between" alignItems="center">
1111
<TitleLink
1212
href="/"

pages/resources.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Container from '../components/Container'
55

66
export default () => (
77
<Layout title="TACHYONS - Resources">
8-
<Container ph={true}>
8+
<Container padding={true}>
99
<h1 className="f3 f1-l">Resources</h1>
1010
<article>
1111
<h3 className="f5 fw6 bb bw2 pb2 mb3">Recommended Reading</h3>

0 commit comments

Comments
 (0)