Skip to content

Commit

Permalink
Update _grid.styl (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
smyth64 authored and johnleider committed Mar 3, 2017
1 parent cfc91be commit 49d45eb
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/stylus/generic/_grid.styl
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@
padding-left: $grid-outer-margin
padding-right: $grid-outer-margin

&--fluid
padding: 0

for width in $container-max-widths
for size, width in $container-max-widths
@media only screen and (min-width: width)
max-width: width

&--fluid
padding: 0
max-width: 100%

.row
display: flex
Expand Down Expand Up @@ -48,4 +49,4 @@
margin-left: (n / $grid-columns * 100)%

.col--spacer, .spacer
flex-grow: 1
flex-grow: 1

0 comments on commit 49d45eb

Please sign in to comment.