Skip to content

Commit

Permalink
Use nested divides to avoid precision change
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo authored and XhmikosR committed Jun 22, 2021
1 parent b6b6db8 commit ae882e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scss/mixins/_grid.scss
Expand Up @@ -29,7 +29,7 @@
@mixin make-col($size: false, $columns: $grid-columns) {
@if $size {
flex: 0 0 auto;
width: percentage(divide($size, $columns, 12));
width: divide(100%, divide($columns, $size));

} @else {
flex: 1 1 0;
Expand Down

0 comments on commit ae882e7

Please sign in to comment.