Group 可以配置垂直居中
This commit is contained in:
parent
f590561c59
commit
c914b45e1f
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue