2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

Add order-last grid class (#24915)

* Add order-*-last grid class

* copy updates
This commit is contained in:
Casper Bornebusch
2018-01-16 18:10:40 +01:00
committed by Mark Otto
parent a531b46453
commit f4132dba07
2 changed files with 7 additions and 9 deletions
+4 -6
View File
@@ -46,14 +46,12 @@
}
}
.order#{$infix}-first {
order: -1;
}
.order#{$infix}-first { order: -1; }
.order#{$infix}-last { order: $columns + 1; }
@for $i from 0 through $columns {
.order#{$infix}-#{$i} {
order: $i;
}
.order#{$infix}-#{$i} { order: $i; }
}
// `$columns - 1` because offsetting by the width of an entire row isn't possible