diff --git a/components/steps/style/index.less b/components/steps/style/index.less index 4284c80106..629c686956 100644 --- a/components/steps/style/index.less +++ b/components/steps/style/index.less @@ -189,13 +189,9 @@ } } } - .@{steps-prefix-cls}-main { - margin-top: 2.5px; - } .@{steps-prefix-cls}-title { font-size: @font-size-lg; - line-height: 21px; - margin-bottom: 4px; + line-height: @steps-icon-size; color: @text-color; font-weight: bold; background-color: @steps-background; @@ -264,7 +260,7 @@ } .@{steps-prefix-cls}-title { font-size: @font-size-base; - margin-bottom: 4px; + line-height: @steps-small-icon-size; color: @text-color; font-weight: bold; }