style(🐛): Fix Steps progressDot style (#28126)

* fix(steps): fix horizontal progressDot steps style problem when current is 0

* style(steps): remove redundant css style

* style(steps): change item-icon background style when step item is process

* fix(steps): fix steps progressDot style
This commit is contained in:
ZeroToOne 2020-12-03 20:37:46 +08:00 committed by GitHub
parent 912d5a6ee7
commit 429d0ef625
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,6 +56,12 @@
width: @steps-current-dot-size;
height: @steps-current-dot-size;
line-height: @steps-current-dot-size;
background: none;
}
&-process .@{steps-prefix-cls}-icon {
&:first-child .@{steps-prefix-cls}-icon-dot {
left: 0;
}
}
}
}
@ -79,7 +85,10 @@
.@{steps-prefix-cls}-item-content {
width: inherit;
}
.@{steps-prefix-cls}-item-process .@{steps-prefix-cls}-icon-dot {
.@{steps-prefix-cls}-item-process
.@{steps-prefix-cls}-item-container
.@{steps-prefix-cls}-item-icon
.@{steps-prefix-cls}-icon-dot {
left: -2px;
}
}