From 33858004a1302c86f3f7adafdd60cb0adb5e86e3 Mon Sep 17 00:00:00 2001 From: johnsonwong666 <1067100250@qq.com> Date: Mon, 8 May 2023 19:57:53 +0800 Subject: [PATCH] fix(Step): vertical line background --- packages/steps/index.less | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); } }