Browse Source

Pull request #2661: 无JIRA任务 feature: 布局

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit '39410b8ec2f2f1879726c83a5f15102d3dda835f':
  feature: 布局
  feature: 布局
  feature: 布局
es6
guy 2 years ago
parent
commit
171125f4cb
  1. 1
      src/core/wrapper/layout/flex/flex.horizontal.js
  2. 1
      src/core/wrapper/layout/flex/flex.vertical.js
  3. 1
      src/less/core/wrapper/flex.horizontal.less
  4. 1
      src/less/core/wrapper/flex.vertical.less
  5. 1
      src/less/core/wrapper/flex.wrapper.horizontal.less
  6. 1
      src/less/core/wrapper/flex.wrapper.vertical.less

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

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

1
src/less/core/wrapper/flex.horizontal.less

@ -169,6 +169,7 @@
}
> .f-f {
min-width: 0;
-webkit-flex-grow: 1;
-moz-flex-grow: 1;
-ms-flex-grow: 1;

1
src/less/core/wrapper/flex.vertical.less

@ -168,6 +168,7 @@
}
> .f-f {
min-height: 0;
-webkit-flex-grow: 1;
-moz-flex-grow: 1;
-ms-flex-grow: 1;

1
src/less/core/wrapper/flex.wrapper.horizontal.less

@ -265,6 +265,7 @@
}
> .f-f {
min-width: 0;
-webkit-flex-grow: 1;
-moz-flex-grow: 1;
-ms-flex-grow: 1;

1
src/less/core/wrapper/flex.wrapper.vertical.less

@ -259,6 +259,7 @@
}
> .f-f {
min-height: 0;
-webkit-flex-grow: 1;
-moz-flex-grow: 1;
-ms-flex-grow: 1;

Loading…
Cancel
Save