mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(Coupon): incorrect field style (#11155)
This commit is contained in:
parent
c6a6b5fe17
commit
299b558439
@ -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;
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user