Skip to content

Commit 98e2579

Browse files
hsuanxyzvthinkxie
authored andcommitted
feat(module:steps): support [nzProgressDot] property in vertical mode (#446)
1 parent 4c7353a commit 98e2579

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,29 @@
1+
@import "../../style/themes/default";
2+
3+
@steps-prefix-cls: ~"@{ant-prefix}-steps";
4+
15
.ant-steps-horizontal nz-step:not(:first-child) .ant-steps-head{
26
padding-left: 10px;
37
margin-left: -10px;
48
}
59
nz-step{
610
display: block;
711
}
12+
13+
.@{steps-prefix-cls}-dot {
14+
&.@{steps-prefix-cls}-vertical {
15+
.@{steps-prefix-cls}-tail {
16+
margin-left: 0;
17+
}
18+
.@{steps-prefix-cls}-step {
19+
text-align: left;
20+
width: auto;
21+
}
22+
.@{steps-prefix-cls}-head-inner {
23+
margin-right: 16px;
24+
}
25+
.@{steps-prefix-cls}-main {
26+
margin-top: 0;
27+
}
28+
}
29+
}

0 commit comments

Comments
 (0)