forked from p96170835/amis
补充功能类样式
This commit is contained in:
parent
f2e3a91575
commit
db9edb72b8
|
@ -263,7 +263,8 @@ export default {
|
||||||
mode: 'inline',
|
mode: 'inline',
|
||||||
placeholder: '请输入邮箱地址',
|
placeholder: '请输入邮箱地址',
|
||||||
label: '邮箱',
|
label: '邮箱',
|
||||||
size: 'full'
|
size: 'full',
|
||||||
|
columnClassName: 'v-bottom'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'password',
|
type: 'password',
|
||||||
|
@ -293,7 +294,8 @@ export default {
|
||||||
label: '密码',
|
label: '密码',
|
||||||
placeholder: '请输入密码',
|
placeholder: '请输入密码',
|
||||||
mode: 'inline',
|
mode: 'inline',
|
||||||
size: 'full'
|
size: 'full',
|
||||||
|
columnClassName: 'v-bottom'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
@ -1324,11 +1324,21 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.v-top {
|
||||||
|
vertical-align: top !important;
|
||||||
|
align-self: flex-start;
|
||||||
|
}
|
||||||
|
|
||||||
.v-middle {
|
.v-middle {
|
||||||
vertical-align: middle !important;
|
vertical-align: middle !important;
|
||||||
align-self: center;
|
align-self: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.v-bottom {
|
||||||
|
vertical-align: bottom !important;
|
||||||
|
align-self: flex-end;
|
||||||
|
}
|
||||||
|
|
||||||
.scrollable {
|
.scrollable {
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
|
|
@ -30,9 +30,6 @@
|
||||||
.#{$ns}Form-star {
|
.#{$ns}Form-star {
|
||||||
color: $red;
|
color: $red;
|
||||||
font-size: $fontSizeXs;
|
font-size: $fontSizeXs;
|
||||||
position: absolute;
|
|
||||||
left: px2rem(-6px);
|
|
||||||
top: px2rem(3px);
|
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -89,6 +86,12 @@
|
||||||
&--normal {
|
&--normal {
|
||||||
> .#{$ns}Form-label {
|
> .#{$ns}Form-label {
|
||||||
display: block;
|
display: block;
|
||||||
|
|
||||||
|
.#{$ns}Form-star {
|
||||||
|
position: absolute;
|
||||||
|
left: px2rem(-6px);
|
||||||
|
top: px2rem(3px);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -202,6 +205,12 @@
|
||||||
> .#{$ns}Form-label {
|
> .#{$ns}Form-label {
|
||||||
padding-top: $Form-label-paddingTop;
|
padding-top: $Form-label-paddingTop;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
|
||||||
|
.#{$ns}Form-star {
|
||||||
|
position: absolute;
|
||||||
|
left: px2rem(-6px);
|
||||||
|
top: px2rem(3px);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.#{$ns}Form-itemColumn--xs {
|
.#{$ns}Form-itemColumn--xs {
|
||||||
|
|
Loading…
Reference in New Issue