fix(Step): vertical line background

This commit is contained in:
johnsonwong666 2023-05-08 19:57:53 +08:00
parent eb56755fd7
commit 33858004a1

View File

@ -148,13 +148,14 @@
.van-step__icon {
line-height: 1;
font-size: var(--step-icon-size, @step-icon-size);
background-color: var(--steps-background-color, @steps-background-color);
}
.van-step__line {
z-index: 1;
width: 1px;
height: 85%;
transform: translate3d(-50%, 5%, 0);
height: 100%;
transform: translate3d(-50%, 0, 0);
background-color: var(--step-line-color, @step-line-color);
}
}