Browse Source

优化布局

master
guy 4 years ago
parent
commit
54fb4d0027
  1. 17
      src/less/core/wrapper/flex.wrapper.vertical.less

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

@ -30,6 +30,7 @@
.bi-f-s-v, .bi-flex-scrollable-vertical-layout {
.flex();
.vertical();
&.h-center {
> .f-s-v-w {
@ -45,7 +46,7 @@
}
}
&.v-bottom {
&.h-right {
/* 09版 */
-webkit-box-align: flex-end;
/* 12版 */
@ -57,7 +58,7 @@
align-items: flex-end;
}
&.h-right {
&.v-bottom {
/* 09版 */
-webkit-box-pack: flex-end;
/* 12版 */
@ -69,6 +70,18 @@
justify-content: flex-end;
}
&.h-stretch {
/* 09版 */
-webkit-box-align: stretch;
/* 12版 */
-webkit-align-items: stretch;
-moz-align-items: stretch;
-ms-align-items: stretch;
-ms-flex-align: stretch;
-o-align-items: stretch;
align-items: stretch;
}
& .f-s-v-w, & .flex-scrollable-vertical-layout-wrapper {
.flex();
.vertical();

Loading…
Cancel
Save