fix(Coupon): incorrect field style (#11155)

This commit is contained in:
neverland 2022-10-20 16:41:42 +08:00 committed by GitHub
parent c6a6b5fe17
commit 299b558439
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -16,7 +16,7 @@
&__field {
padding: var(--van-coupon-list-field-padding);
.van-field__:root {
.van-field__body {
height: 34px;
padding-left: var(--van-padding-sm);
line-height: 34px;

View File

@ -34,7 +34,6 @@
&__content {
display: flex;
align-items: center;
position: relative;
box-sizing: border-box;
min-height: var(--van-coupon-content-height);
padding: var(--van-coupon-content-padding);
@ -77,10 +76,9 @@
white-space: pre-wrap;
}
&__:root {
&__body {
position: relative;
flex: 1;
border-radius: 0 var(--van-coupon-radius) var(--van-coupon-radius) 0;
}
&__name {