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 {
|
&__field {
|
||||||
padding: var(--van-coupon-list-field-padding);
|
padding: var(--van-coupon-list-field-padding);
|
||||||
|
|
||||||
.van-field__:root {
|
.van-field__body {
|
||||||
height: 34px;
|
height: 34px;
|
||||||
padding-left: var(--van-padding-sm);
|
padding-left: var(--van-padding-sm);
|
||||||
line-height: 34px;
|
line-height: 34px;
|
||||||
|
@ -34,7 +34,6 @@
|
|||||||
&__content {
|
&__content {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
position: relative;
|
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
min-height: var(--van-coupon-content-height);
|
min-height: var(--van-coupon-content-height);
|
||||||
padding: var(--van-coupon-content-padding);
|
padding: var(--van-coupon-content-padding);
|
||||||
@ -77,10 +76,9 @@
|
|||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__:root {
|
&__body {
|
||||||
position: relative;
|
position: relative;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
border-radius: 0 var(--van-coupon-radius) var(--van-coupon-radius) 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&__name {
|
&__name {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user