Browse Source

feature: 布局

es6
guy 3 years ago
parent
commit
39410b8ec2
  1. 1
      src/core/wrapper/layout/flex/flex.horizontal.js
  2. 1
      src/core/wrapper/layout/flex/flex.vertical.js

1
src/core/wrapper/layout/flex/flex.horizontal.js

@ -81,7 +81,6 @@ BI.FlexHorizontalLayout = BI.inherit(BI.Layout, {
} }
if (columnSize === "fill") { if (columnSize === "fill") {
w.element.addClass("f-f"); w.element.addClass("f-f");
w.element.css({ minWidth: 0 });
} }
w.element.addClass("c-e"); w.element.addClass("c-e");
if (i === 0) { if (i === 0) {

1
src/core/wrapper/layout/flex/flex.vertical.js

@ -80,7 +80,6 @@ BI.FlexVerticalLayout = BI.inherit(BI.Layout, {
} }
if (rowSize === "fill") { if (rowSize === "fill") {
w.element.addClass("f-f"); w.element.addClass("f-f");
w.element.css({ minHeight: 0 });
} }
w.element.addClass("c-e"); w.element.addClass("c-e");
if (i === 0) { if (i === 0) {

Loading…
Cancel
Save