Skip to content

Commit

Permalink
Merge pull request #42 from nordnet/fix/breakpoints-adjustment
Browse files Browse the repository at this point in the history
fix: undo tighter paddings
  • Loading branch information
mjmonline committed Oct 2, 2019
2 parents fca29d3 + 3d10a47 commit 549ee35
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/grid/styles.js
Expand Up @@ -22,7 +22,7 @@ Object.keys(breakpoints).forEach(breakpoint => {
} else {
styles.grid[media(breakpoint)] = {
width: containers[breakpoint],
padding: [0, 8],
padding: [0, 20],
};
}
});
Expand Down
8 changes: 4 additions & 4 deletions src/spec.js
@@ -1,10 +1,10 @@
export const breakpoints = {
// The grid is mobile first so xs is the default, hence no breakpoint
xs: false,
sm: 736,
md: 952,
lg: 1268,
xl: 1576,
sm: 760,
md: 976,
lg: 1280,
xl: 1600,
};

export const media = size => {
Expand Down

0 comments on commit 549ee35

Please sign in to comment.