From 858bcd13115d1686fb241a99154c03b1b10d9121 Mon Sep 17 00:00:00 2001 From: Mike Francis Date: Tue, 23 Sep 2014 10:16:54 +0100 Subject: [PATCH] Removed bottom margins --- scss/base/_grid.scss | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/scss/base/_grid.scss b/scss/base/_grid.scss index 964e9c9..6dc3cb7 100644 --- a/scss/base/_grid.scss +++ b/scss/base/_grid.scss @@ -21,35 +21,25 @@ @mixin grid-loop($name){ @for $i from 1 through $grid-columns { .col--#{$name}-#{$i} { - width: percentage($i/$grid-columns); + width: percentage($i / $grid-columns); } .col--#{$name}-offset-#{$i} { - margin-left: percentage($i/$grid-columns); + margin-left: percentage($i / $grid-columns); } } } @each $breakpoint in $breakpoints-list { - $name: nth($breakpoint, 1); $declaration: nth($breakpoint, 2); - + @if $name == ld { @include grid-loop($name); } @else { @media only screen and #{$declaration} { - @if $name == sd { - .col .col { - margin-bottom: $gutter; - &:last-child { - margin-bottom: 0; - } - } - } @include grid-loop($name); } } - }