bug fix on uneven grids

This commit is contained in:
Raphael Goetter 2016-05-23 15:45:44 +02:00
parent a9ac18fd61
commit 22973c4b86
5 changed files with 22 additions and 22 deletions

View file

@ -111,11 +111,11 @@
}
}
@include media('>small-screen') {
& :nth-child(odd) {
& > :nth-child(odd) {
$size: ($grid-left / ($grid-left + $grid-right)) * 100%;
width: calc(#{$size} - #{$newgutter});
}
& :nth-child(even) {
& > :nth-child(even) {
$size: ($grid-right / ($grid-left + $grid-right)) * 100%;
width: calc(#{$size} - #{$newgutter});
}