mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(Field): fix label-align top not work when set label-width (#11611)
* fix(Field): fix Field label-align * style: delete some redundant css * style: delete some redundant css
This commit is contained in:
parent
1940541ea3
commit
73bab646a1
@ -23,6 +23,15 @@
|
||||
.van-field {
|
||||
flex-wrap: wrap;
|
||||
|
||||
&--label {
|
||||
&-top {
|
||||
.van-field__value {
|
||||
flex: none;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__label {
|
||||
flex: none;
|
||||
box-sizing: border-box;
|
||||
@ -41,9 +50,6 @@
|
||||
}
|
||||
|
||||
&--top {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
margin-bottom: var(--van-padding-base);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user