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

Remove unused $variables in grid mixins (#20597)

This commit is contained in:
Franco Moya 2016-09-04 21:43:38 -03:00 committed by Mark Otto
parent 910f3ec498
commit 833028a779
2 changed files with 3 additions and 3 deletions

View file

@ -45,7 +45,7 @@
@for $i from 1 through $columns {
.col-#{$breakpoint}-#{$i} {
@include make-col($i, $columns, $gutter);
@include make-col($i, $columns);
}
}

View file

@ -33,7 +33,7 @@
margin-right: ($gutter / -2);
}
@mixin make-col-ready($columns: $grid-columns, $gutter: $grid-gutter-width) {
@mixin make-col-ready($gutter: $grid-gutter-width) {
position: relative;
min-height: 1px; // Prevent collapsing
padding-right: ($gutter / 2);
@ -47,7 +47,7 @@
}
}
@mixin make-col($size, $columns: $grid-columns, $gutter: $grid-gutter-width) {
@mixin make-col($size, $columns: $grid-columns) {
@if $enable-flex {
flex: 0 0 percentage($size / $columns);
// Add a `max-width` to ensure content within each column does not blow out