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:
Gavin
2023-02-25 16:59:42 +08:00
committed by GitHub
parent 1940541ea3
commit 73bab646a1
+9 -3
View File
@@ -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);
}