Group 可以配置垂直居中

This commit is contained in:
liaoxuezhi 2019-07-18 12:09:57 +08:00
parent f590561c59
commit c914b45e1f
1 changed files with 8 additions and 0 deletions

View File

@ -17,6 +17,14 @@
margin-right: -$Form-group-gutterWidth / 2; margin-right: -$Form-group-gutterWidth / 2;
align-items: flex-start; align-items: flex-start;
&.v-middle {
align-items: center;
}
&.v-bottom {
align-items: flex-end;
}
> * { > * {
padding-left: $Form-group-gutterWidth / 2; padding-left: $Form-group-gutterWidth / 2;
padding-right: $Form-group-gutterWidth / 2; padding-right: $Form-group-gutterWidth / 2;