diff --git a/src/col/styles.js b/src/col/styles.js index df0454e..fdf3551 100644 --- a/src/col/styles.js +++ b/src/col/styles.js @@ -8,12 +8,20 @@ const styles = { flex: '0 0 auto', paddingRight: gutter / 2, paddingLeft: gutter / 2, + + '&:first-of-type': { + paddingLeft: 0, + }, + + '&:last-of-type': { + paddingRight: 0, + }, }, reverse: { 'flex-direction': 'column-reverse', }, }; -const _size = i => Number(100 / columns * i).toFixed(4); +const _size = i => Number((100 / columns) * i).toFixed(4); const helpers = { basic: {