diff --git a/packages/steps/index.less b/packages/steps/index.less index de666fca..b7abc9fd 100644 --- a/packages/steps/index.less +++ b/packages/steps/index.less @@ -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); } }