From fef606c26972202e1d06b3028d08d50ecbeb8cd2 Mon Sep 17 00:00:00 2001 From: neverland Date: Sat, 10 Jul 2021 10:26:22 +0800 Subject: [PATCH] fix(Step): z-index issue in 2.x (#9004) --- src/step/index.less | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/step/index.less b/src/step/index.less index cf30066ac..080bb7a4e 100644 --- a/src/step/index.less +++ b/src/step/index.less @@ -94,24 +94,11 @@ border-bottom-width: 1px; } - &:first-child { - &::before { - position: absolute; - top: 0; - left: -15px; - z-index: 1; - width: 1px; - height: 20px; - background-color: @white; - content: ''; - } - } - .van-step__circle-container { position: absolute; top: 19px; left: -15px; - z-index: 2; + z-index: 1; font-size: @step-icon-size; line-height: 1; transform: translate(-50%, -50%);