Skip to content

Commit

Permalink
fix: add else statement
Browse files Browse the repository at this point in the history
  • Loading branch information
mjmonline committed Jun 28, 2019
1 parent 3c9ad35 commit 589f13b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/grid/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ Object.keys(breakpoints).forEach(breakpoint => {
styles.grid[media(breakpoint)] = {
width: '100%',
};
} else {
styles.grid[media(breakpoint)] = {
width: containers[breakpoint],
padding: [0, offsets[breakpoint]],
};
}

styles.grid[media(breakpoint)] = {
width: containers[breakpoint],
padding: [0, offsets[breakpoint]],
};
});

export default styles;

0 comments on commit 589f13b

Please sign in to comment.