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:
parent
910f3ec498
commit
833028a779
2 changed files with 3 additions and 3 deletions
|
@ -45,7 +45,7 @@
|
||||||
|
|
||||||
@for $i from 1 through $columns {
|
@for $i from 1 through $columns {
|
||||||
.col-#{$breakpoint}-#{$i} {
|
.col-#{$breakpoint}-#{$i} {
|
||||||
@include make-col($i, $columns, $gutter);
|
@include make-col($i, $columns);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
margin-right: ($gutter / -2);
|
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;
|
position: relative;
|
||||||
min-height: 1px; // Prevent collapsing
|
min-height: 1px; // Prevent collapsing
|
||||||
padding-right: ($gutter / 2);
|
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 {
|
@if $enable-flex {
|
||||||
flex: 0 0 percentage($size / $columns);
|
flex: 0 0 percentage($size / $columns);
|
||||||
// Add a `max-width` to ensure content within each column does not blow out
|
// Add a `max-width` to ensure content within each column does not blow out
|
||||||
|
|
Loading…
Reference in a new issue