make-col-offset: Remove percentage if it's zero.
This commit is contained in:
parent
7b715ee7e8
commit
219ba7f2ea
|
@ -47,5 +47,6 @@
|
|||
}
|
||||
|
||||
@mixin make-col-offset($size, $columns: $grid-columns) {
|
||||
margin-left: percentage($size / $columns);
|
||||
$num: $size / $columns;
|
||||
margin-left: if($num == 0, 0, percentage($num));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue