guy 4 years ago
parent
commit
68de06687f
  1. 4
      src/core/platform/web/config.js

4
src/core/platform/web/config.js

@ -23,7 +23,9 @@ BI.prepares.push(function () {
if (supportFlex) { if (supportFlex) {
return BI.extend({}, ob, {type: "bi.flex_horizontal"}); return BI.extend({}, ob, {type: "bi.flex_horizontal"});
} }
return BI.extend({}, ob, {type: "bi.table_adapt"}); return BI.extend({
scrollx: true
}, ob, {type: "bi.inline"});
}); });
BI.Plugin.configWidget("bi.center_adapt", function (ob) { BI.Plugin.configWidget("bi.center_adapt", function (ob) {
var supportFlex = isSupportFlex(), justOneItem = (ob.items && ob.items.length <= 1); var supportFlex = isSupportFlex(), justOneItem = (ob.items && ob.items.length <= 1);

Loading…
Cancel
Save