File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 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) {
1414 grunt . initConfig ( {
1515 sass : {
1616 options : {
17+ // precision: 3, // doesn't work
1718 implementation : sass ,
1819 sourceMap : false
1920 } ,
Original file line number Diff line number Diff line change @@ -88,16 +88,14 @@ $animation_speed: .3s !default;
8888 }
8989 }
9090
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 ) {
9392 & [gs-x = ' #{$i } ' ] { left : math .div (100% , $gridstack-columns ) * $i ; }
93+ & [gs-w = ' #{$i + 1 } ' ] { width : math .div (100% , $gridstack-columns ) * ($i + 1 ); }
9494 }
9595 }
9696
9797 & .grid-stack-1 >.grid-stack-item {
9898 min-width : 100% ;
99- & [gs-w = ' 1' ] { width : 100% ; }
100- & [gs-x = ' 0' ] { left : 0 ; }
10199 }
102100
103101 & .grid-stack-animate ,
You can’t perform that action at this time.
0 commit comments