We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a991f24 commit 14d1245Copy full SHA for 14d1245
js/services/css-framework.ts
@@ -27,10 +27,10 @@ module fng.services {
27
var result;
28
switch (config.framework) {
29
case 'bs2' :
30
- result = 'span' + cols;
+ result = 'span' + Math.floor(cols);
31
break;
32
case 'bs3' :
33
- result = 'col-xs-' + cols;
+ result = 'col-xs-' + Math.floor(cols);
34
35
}
36
return result;
@@ -39,10 +39,10 @@ module fng.services {
39
40
41
42
- result = 'offset' + cols;
+ result = 'offset' + Math.floor(cols);
43
44
45
- result = 'col-lg-offset-' + cols;
+ result = 'col-lg-offset-' + Math.floor(cols);
46
47
48
0 commit comments