Browse Source

布局大一统

master
guy 4 years ago
parent
commit
f1cc052753
  1. 7
      src/less/core/wrapper/flex.wrapper.horizontal.less
  2. 7
      src/less/core/wrapper/flex.wrapper.vertical.less

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

@ -86,6 +86,13 @@
-moz-flex-grow: 1;
-ms-flex-grow: 1;
flex-grow: 1;
&.h-stretch {
-webkit-flex-shrink: 1;
-moz-flex-shrink: 1;
-ms-flex-shrink: 1;
flex-shrink: 1;
}
}
}

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

@ -85,6 +85,13 @@
-moz-flex-grow: 1;
-ms-flex-grow: 1;
flex-grow: 1;
&.v-middle {
-webkit-flex-shrink: 1;
-moz-flex-shrink: 1;
-ms-flex-shrink: 1;
flex-shrink: 1;
}
}
}

Loading…
Cancel
Save