guy 4 years ago
parent
commit
7f46b84fa2
  1. 11
      src/core/platform/web/config.js

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

@ -18,16 +18,7 @@ BI.prepares.push(function () {
if (isLessIE8) { if (isLessIE8) {
return ob; return ob;
} }
// center_adapt if (ob.items && ob.items.length > 1) {
if (ob.verticalAlign === BI.VerticalAlign.Middle && ob.horizontalAlign === BI.HorizontalAlign.Center) {
return BI.extend(ob, {type: "bi.table_adapt"});
}
// vertical_adapt
if (ob.verticalAlign === BI.VerticalAlign.Middle && ob.horizontalAlign === BI.HorizontalAlign.Left) {
return BI.extend(ob, {type: "bi.table_adapt"});
}
// horizontal_adapt
if (ob.verticalAlign === BI.VerticalAlign.Top && ob.horizontalAlign === BI.HorizontalAlign.Center) {
return BI.extend(ob, {type: "bi.table_adapt"}); return BI.extend(ob, {type: "bi.table_adapt"});
} }
if (!IE && supportFlex) { if (!IE && supportFlex) {

Loading…
Cancel
Save