File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -255,8 +255,8 @@ you can also use the SCSS [src/gridstack-extra.scss](https://github.com/gridstac
255
255
Sample gulp command for 30 columns:
256
256
``` js
257
257
gulp .src (' node_modules/gridstack/dist/src/gridstack-extra.scss' )
258
- .pipe (replace (' $gridstack-columns- start: 2 !default;' ,' $gridstack-columns- start: 30;' ))
259
- .pipe (replace (' $gridstack-columns : 11 !default;' ,' $gridstack-columns : 30;' ))
258
+ .pipe (replace (' $start: 2 !default;' ,' $start: 30;' ))
259
+ .pipe (replace (' $end : 11 !default;' ,' $end : 30;' ))
260
260
.pipe (sass ({outputStyle: ' compressed' }))
261
261
.pipe (rename ({extname: ' .min.css' }))
262
262
.pipe (gulp .dest (' dist/css' ))
Original file line number Diff line number Diff line change 2
2
* default to generate [2-11] columns as 1 (oneColumnMode) and 12 (default) are in the main css
3
3
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
4
4
*/
5
- $gridstack-columns- start : 2 !default ;
6
- $gridstack-columns : 11 !default ;
5
+ $start : 2 !default ;
6
+ $end : 11 !default ;
7
7
8
8
@function fixed ($float ) {
9
9
@return calc (round ($float * 1000 ) / 1000 ); // total 4-5 digits being %
@@ -20,6 +20,6 @@ $gridstack-columns: 11 !default;
20
20
}
21
21
}
22
22
23
- @for $j from $gridstack-columns- start through $gridstack-columns {
23
+ @for $j from $start through $end {
24
24
@include grid-stack-items ($j )
25
25
}
You can’t perform that action at this time.
0 commit comments