1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 00:59:51 +02:00

Update the divide() function

This commit is contained in:
Mark Otto
2021-06-18 05:58:31 +03:00
committed by XhmikosR
parent 290b9ee2cd
commit ed13d01559
2 changed files with 30 additions and 13 deletions

View File

@@ -29,7 +29,7 @@
@mixin make-col($size: false, $columns: $grid-columns) {
@if $size {
flex: 0 0 auto;
width: percentage(divide($size, $columns));
width: divide(100%, divide($columns, $size));
} @else {
flex: 1 1 0;