File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ module.exports = function(grunt) {
14
14
grunt . initConfig ( {
15
15
sass : {
16
16
options : {
17
+ // precision: 3, // doesn't work
17
18
implementation : sass ,
18
19
sourceMap : false
19
20
} ,
Original file line number Diff line number Diff line change @@ -88,16 +88,14 @@ $animation_speed: .3s !default;
88
88
}
89
89
}
90
90
91
- @for $i from 0 through $gridstack-columns {
92
- & [gs-w = ' #{$i } ' ] { width : math .div (100% , $gridstack-columns ) * $i ; }
91
+ @for $i from 0 through ($gridstack-columns - 1 ) {
93
92
& [gs-x = ' #{$i } ' ] { left : math .div (100% , $gridstack-columns ) * $i ; }
93
+ & [gs-w = ' #{$i + 1 } ' ] { width : math .div (100% , $gridstack-columns ) * ($i + 1 ); }
94
94
}
95
95
}
96
96
97
97
& .grid-stack-1 >.grid-stack-item {
98
98
min-width : 100% ;
99
- & [gs-w = ' 1' ] { width : 100% ; }
100
- & [gs-x = ' 0' ] { left : 0 ; }
101
99
}
102
100
103
101
& .grid-stack-animate ,
You can’t perform that action at this time.
0 commit comments