0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

remove unused mixin, fix variable

This commit is contained in:
Mark Otto 2017-06-29 21:35:07 -07:00 committed by Mark Otto
parent e47cc747f6
commit d30b5b120e
2 changed files with 3 additions and 13 deletions

View File

@ -3,14 +3,14 @@
// Used only by Bootstrap to generate the correct number of grid classes given
// any value of `$grid-columns`.
@mixin make-grid-columns($columns: $grid-columns, $gutters: $grid-gutter-widths, $breakpoints: $grid-breakpoints) {
@mixin make-grid-columns($columns: $grid-columns, $gutter: $grid-gutter-width, $breakpoints: $grid-breakpoints) {
// Common properties for all breakpoints
%grid-column {
position: relative;
width: 100%;
min-height: 1px; // Prevent columns from collapsing when empty
padding-right: ($grid-gutter-width / 2);
padding-left: ($grid-gutter-width / 2);
padding-right: ($gutter / 2);
padding-left: ($gutter / 2);
}
@each $breakpoint in map-keys($breakpoints) {

View File

@ -20,16 +20,6 @@
}
}
// @mixin make-gutters($gutters: $grid-gutter-widths) {
// @each $breakpoint in map-keys($gutters) {
// @include media-breakpoint-up($breakpoint) {
// $gutter: map-get($gutters, $breakpoint);
// padding-right: ($gutter / 2);
// padding-left: ($gutter / 2);
// }
// }
// }
@mixin make-row() {
display: flex;
flex-wrap: wrap;