mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
fix(Step): vertical line background
This commit is contained in:
parent
eb56755fd7
commit
33858004a1
@ -148,13 +148,14 @@
|
|||||||
.van-step__icon {
|
.van-step__icon {
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
font-size: var(--step-icon-size, @step-icon-size);
|
font-size: var(--step-icon-size, @step-icon-size);
|
||||||
|
background-color: var(--steps-background-color, @steps-background-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
.van-step__line {
|
.van-step__line {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
width: 1px;
|
width: 1px;
|
||||||
height: 85%;
|
height: 100%;
|
||||||
transform: translate3d(-50%, 5%, 0);
|
transform: translate3d(-50%, 0, 0);
|
||||||
background-color: var(--step-line-color, @step-line-color);
|
background-color: var(--step-line-color, @step-line-color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user