1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

make-col-offset: Remove percentage if it's zero.

This commit is contained in:
XhmikosR 2017-10-03 22:12:31 +03:00
parent 7b715ee7e8
commit 219ba7f2ea

View file

@ -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));
}