assets/stylesheets/material/mixins/_grid-framework.scss in material-sass-4.0.0.beta2 vs assets/stylesheets/material/mixins/_grid-framework.scss in material-sass-4.0.0.beta3
- old
+ new
@@ -14,16 +14,18 @@
@include make-col($i);
}
}
@for $i from 0 through ($grid-columns - 1) {
- .offset#{$infix}-#{$i} {
- @include make-col-offset($i);
+ @if not ($infix == '' and $i == 0) {
+ .offset#{$infix}-#{$i} {
+ @include make-col-offset($i);
+ }
}
}
- @for $i from 1 through $grid-columns {
+ @for $i from 0 through $grid-columns {
.order#{$infix}-#{$i} {
order: $i;
}
}
@@ -35,9 +37,13 @@
.col#{$infix}-auto {
flex: 0 0 auto;
max-width: none;
width: auto;
+ }
+
+ .order#{$infix}-first {
+ order: -1;
}
}
.col#{$infix},
.col#{$infix}-auto {