补充功能类样式

This commit is contained in:
2betop 2020-06-09 20:28:07 +08:00
parent f2e3a91575
commit db9edb72b8
3 changed files with 26 additions and 5 deletions

View File

@ -263,7 +263,8 @@ export default {
mode: 'inline',
placeholder: '请输入邮箱地址',
label: '邮箱',
size: 'full'
size: 'full',
columnClassName: 'v-bottom'
},
{
type: 'password',
@ -293,7 +294,8 @@ export default {
label: '密码',
placeholder: '请输入密码',
mode: 'inline',
size: 'full'
size: 'full',
columnClassName: 'v-bottom'
}
]
},

View File

@ -1324,11 +1324,21 @@
}
}
.v-top {
vertical-align: top !important;
align-self: flex-start;
}
.v-middle {
vertical-align: middle !important;
align-self: center;
}
.v-bottom {
vertical-align: bottom !important;
align-self: flex-end;
}
.scrollable {
overflow-x: hidden;
overflow-y: auto;

View File

@ -30,9 +30,6 @@
.#{$ns}Form-star {
color: $red;
font-size: $fontSizeXs;
position: absolute;
left: px2rem(-6px);
top: px2rem(3px);
line-height: 1;
}
@ -89,6 +86,12 @@
&--normal {
> .#{$ns}Form-label {
display: block;
.#{$ns}Form-star {
position: absolute;
left: px2rem(-6px);
top: px2rem(3px);
}
}
}
@ -202,6 +205,12 @@
> .#{$ns}Form-label {
padding-top: $Form-label-paddingTop;
margin-bottom: 0;
.#{$ns}Form-star {
position: absolute;
left: px2rem(-6px);
top: px2rem(3px);
}
}
.#{$ns}Form-itemColumn--xs {