From 54fb4d00271f5d583b47e91aaa7b4a6b0c4ee708 Mon Sep 17 00:00:00 2001 From: guy Date: Sun, 28 Mar 2021 12:42:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core/wrapper/flex.wrapper.vertical.less | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/src/less/core/wrapper/flex.wrapper.vertical.less b/src/less/core/wrapper/flex.wrapper.vertical.less index 81673f99f8..c9653c1754 100644 --- a/src/less/core/wrapper/flex.wrapper.vertical.less +++ b/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();