diff options
author | Nick Van Doorn <vandoorn.nick@gmail.com> | 2019-03-17 23:22:14 -0700 |
---|---|---|
committer | Nick Van Doorn <vandoorn.nick@gmail.com> | 2019-03-17 23:22:14 -0700 |
commit | f3e0a3ba42652fc27e87d39549501d4bc4fc128b (patch) | |
tree | a5d8f3356fd48cb886f5fbf4a8938b4244147afa /src/components/split-container.js | |
parent | 71c905a53900c35d4b33f5559a81e262a4153f56 (diff) |
Use globally defined margin
Diffstat (limited to 'src/components/split-container.js')
-rw-r--r-- | src/components/split-container.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/split-container.js b/src/components/split-container.js index da24de6..13c870b 100644 --- a/src/components/split-container.js +++ b/src/components/split-container.js @@ -1,7 +1,7 @@ import React from 'react' import { css } from '@emotion/core' -import { breakpoints } from './globals' +import { breakpoints, margins } from './globals' const splitSyle = css` display: flex; @@ -10,7 +10,7 @@ const splitSyle = css` flex-wrap: nowrap; } > *:first-child { - margin-right: 50px; + margin-right: ${margins.md}px; } ` |