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
255255Sample gulp command for 30 columns:
256256``` js
257257gulp .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;' ))
260260 .pipe (sass ({outputStyle: ' compressed' }))
261261 .pipe (rename ({extname: ' .min.css' }))
262262 .pipe (gulp .dest (' dist/css' ))
Original file line number Diff line number Diff line change 22 * default to generate [2-11] columns as 1 (oneColumnMode) and 12 (default) are in the main css
33 * Copyright (c) 2021 Alain Dumesny - see GridStack root license
44 */
5- $gridstack-columns- start : 2 !default ;
6- $gridstack-columns : 11 !default ;
5+ $start : 2 !default ;
6+ $end : 11 !default ;
77
88@function fixed ($float ) {
99 @return calc (round ($float * 1000 ) / 1000 ); // total 4-5 digits being %
@@ -20,6 +20,6 @@ $gridstack-columns: 11 !default;
2020 }
2121}
2222
23- @for $j from $gridstack-columns- start through $gridstack-columns {
23+ @for $j from $start through $end {
2424 @include grid-stack-items ($j )
2525}
You can’t perform that action at this time.
0 commit comments