|
@@ -69,7 +69,7 @@ var Row = function (widgets, vm, columns) {
|
|
|
self.columns = ko.observableArray(columns ? columns : []);
|
|
self.columns = ko.observableArray(columns ? columns : []);
|
|
|
self.columns.subscribe(function (val) {
|
|
self.columns.subscribe(function (val) {
|
|
|
self.columns().forEach(function (col) {
|
|
self.columns().forEach(function (col) {
|
|
|
- col.percWidth((100 - self.columns().length * BOOTSTRAP_RATIOS.MARGIN()) / self.columns().length);
|
|
|
|
|
|
|
+ col.percWidth(Math.max(3, (100 - self.columns().length * BOOTSTRAP_RATIOS.MARGIN()) / self.columns().length));
|
|
|
});
|
|
});
|
|
|
});
|
|
});
|
|
|
|
|
|