From 50b86be58febf26b1543f270fd96fe45427747ac Mon Sep 17 00:00:00 2001 From: Hsuan Lee Date: Fri, 20 Sep 2019 17:35:36 +0800 Subject: [PATCH] fix(module:steps): fix progress dot in vertical mode (#4193) close #4184 --- components/steps/demo/progress-dot.ts | 8 ++++++++ components/steps/style/progress-dot.less | 8 +++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/components/steps/demo/progress-dot.ts b/components/steps/demo/progress-dot.ts index 63f8a42b29f..7103ac29893 100644 --- a/components/steps/demo/progress-dot.ts +++ b/components/steps/demo/progress-dot.ts @@ -8,6 +8,14 @@ import { Component } from '@angular/core'; + + + + + + + + ` }) export class NzDemoStepsProgressDotComponent {} diff --git a/components/steps/style/progress-dot.less b/components/steps/style/progress-dot.less index 580c4afa69b..e74529da21a 100644 --- a/components/steps/style/progress-dot.less +++ b/components/steps/style/progress-dot.less @@ -1,4 +1,5 @@ -.@{steps-prefix-cls}-dot { +.@{steps-prefix-cls}-dot, +.@{steps-prefix-cls}-dot.@{steps-prefix-cls}-small { .@{steps-prefix-cls}-item { &-title { line-height: @line-height-base; @@ -63,7 +64,8 @@ margin-top: 8px; margin-left: 0; } - .@{steps-prefix-cls}-item-tail { + // https://github.com/ant-design/ant-design/issues/18354 + .@{steps-prefix-cls}-item > .@{steps-prefix-cls}-item-container > .@{steps-prefix-cls}-item-tail { top: 2px; left: -9px; margin: 0; @@ -75,4 +77,4 @@ .@{steps-prefix-cls}-item-process .@{steps-prefix-cls}-icon-dot { left: -2px; } -} +} \ No newline at end of file