Skip to content

Commit

Permalink
remove unused mixin, fix variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Jun 30, 2017
1 parent e47cc74 commit d30b5b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
6 changes: 3 additions & 3 deletions scss/mixins/_grid-framework.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
10 changes: 0 additions & 10 deletions scss/mixins/_grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d30b5b1

Please sign in to comment.