bug fix on uneven grids
This commit is contained in:
parent
a9ac18fd61
commit
22973c4b86
5 changed files with 22 additions and 22 deletions
|
@ -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});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue