0001-scss-add-support-for-vertical-align-of-grid-cells-25.patch
static/includes/_grid.scss | ||
---|---|---|
47 | 47 |
@each $i in 1, 2, 3, 4, 6, 12 { |
48 | 48 |
@for $j from 1 through $i { |
49 | 49 |
.grid-#{$j}-#{$i} { |
50 |
width: calc( #{100*$j/$i+0%} - #{$grid-gutter}); |
|
50 |
width: calc( #{100*$j/$i+0%} - #{$grid-gutter/$i});
|
|
51 | 51 |
@media screen and (max-width: $mobile-limit) { |
52 | 52 |
@if $i == 4 and $j <= 2 { width: calc(50% - #{$grid-gutter}); } |
53 | 53 |
@else if $i == 4 and $j > 2 { width: calc(100% - #{$grid-gutter}); } |
54 |
- |