Skip to content

Commit

Permalink
feat(module:steps): support [nzProgressDot] property in vertical mode (
Browse files Browse the repository at this point in the history
  • Loading branch information
hsuanxyz authored and vthinkxie committed Oct 21, 2017
1 parent 4c7353a commit 98e2579
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/components/steps/style/patch.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,29 @@
@import "../../style/themes/default";

@steps-prefix-cls: ~"@{ant-prefix}-steps";

.ant-steps-horizontal nz-step:not(:first-child) .ant-steps-head{
padding-left: 10px;
margin-left: -10px;
}
nz-step{
display: block;
}

.@{steps-prefix-cls}-dot {
&.@{steps-prefix-cls}-vertical {
.@{steps-prefix-cls}-tail {
margin-left: 0;
}
.@{steps-prefix-cls}-step {
text-align: left;
width: auto;
}
.@{steps-prefix-cls}-head-inner {
margin-right: 16px;
}
.@{steps-prefix-cls}-main {
margin-top: 0;
}
}
}

0 comments on commit 98e2579

Please sign in to comment.