Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

Commit

Permalink
fix(Container): Stop dividing gutter in half
Browse files Browse the repository at this point in the history
  • Loading branch information
kylealwyn committed Sep 18, 2019
1 parent eb98eb7 commit 2ace6f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Grid/Container.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { css } from 'styled-components';
import Box from '../Box';
import { createComponent } from '../utils';

const getPadding = p => (typeof p.gutter === 'number' ? p.gutter / 2 : p.theme.gridGutter / 2);
const getPadding = p => (typeof p.gutter === 'number' ? p.gutter : p.theme.gridGutter);

const StyledContainer = createComponent({
name: 'Container',
Expand Down

0 comments on commit 2ace6f7

Please sign in to comment.