Skip to content

Commit

Permalink
fix: remove outer paddings to match new nordnet/ui grid
Browse files Browse the repository at this point in the history
  • Loading branch information
mjmonline committed Jun 20, 2019
1 parent ae86513 commit a38ff23
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/col/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit a38ff23

Please sign in to comment.