assets/stylesheets/material/mixins/_grid-framework.scss in material-sass-4.1.0 vs assets/stylesheets/material/mixins/_grid-framework.scss in material-sass-4.1.1
- old
+ new
@@ -1,6 +1,15 @@
@mixin make-grid-columns() {
+ %grid-column {
+ min-height: 1px;
+ padding-right: ($grid-gutter-width / 2);
+ padding-left: ($grid-gutter-width / 2);
+ position: relative;
+ width: 100%;
+ }
+
+ // stylelint-disable-next-line order/order
@each $breakpoint in map-keys($grid-breakpoints) {
$infix: breakpoint-infix($breakpoint);
@for $i from 1 through $grid-columns {
.col#{$infix}-#{$i} {
@@ -52,15 +61,7 @@
.col#{$infix},
.col#{$infix}-auto {
@extend %grid-column;
}
- }
-
- %grid-column {
- min-height: 1px;
- padding-right: ($grid-gutter-width / 2);
- padding-left: ($grid-gutter-width / 2);
- position: relative;
- width: 100%;
}
}