diff --git a/components/steps/style/index.less b/components/steps/style/index.less index 70a9ef83e8..32d2d7404b 100644 --- a/components/steps/style/index.less +++ b/components/steps/style/index.less @@ -289,11 +289,11 @@ } .@{steps-prefix-cls}-vertical { - .@{steps-prefix-cls}-item { + > .@{steps-prefix-cls}-item { display: block; } - .@{steps-prefix-cls}-tail { + > .@{steps-prefix-cls}-item > .@{steps-prefix-cls}-tail { position: absolute; left: 13px; top: 0;