Browse Source

布局大一统

es6
guy 4 years ago
parent
commit
7f005618ca
  1. 10
      src/less/core/wrapper/flex.wrapper.horizontal.less
  2. 10
      src/less/core/wrapper/flex.wrapper.vertical.less

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

@ -96,6 +96,16 @@
}
}
&.h-stretch {
> .f-s-h-w {
-webkit-flex-shrink: 1;
-moz-flex-shrink: 1;
-ms-flex-shrink: 1;
flex-shrink: 1;
max-width: 100%;
}
}
&.h-right {
/* 09版 */
-webkit-box-pack: flex-end;

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

@ -95,6 +95,16 @@
}
}
&.v-stretch {
> .f-s-v-w {
-webkit-flex-shrink: 1;
-moz-flex-shrink: 1;
-ms-flex-shrink: 1;
flex-shrink: 1;
max-height: 100%;
}
}
&.h-right {
/* 09版 */
-webkit-box-align: flex-end;

Loading…
Cancel
Save