diff --git a/scss/mixins/_grid.scss b/scss/mixins/_grid.scss index f398cd42ae..ff6941c464 100644 --- a/scss/mixins/_grid.scss +++ b/scss/mixins/_grid.scss @@ -29,7 +29,7 @@ @mixin make-col($size: false, $columns: $grid-columns) { @if $size { flex: 0 0 auto; - width: divide(100%, divide($columns, $size)); + width: percentage(divide($size, $columns)); } @else { flex: 1 1 0; @@ -43,7 +43,7 @@ } @mixin make-col-offset($size, $columns: $grid-columns) { - $num: $size / $columns; + $num: divide($size, $columns); margin-left: if($num == 0, 0, percentage($num)); }