mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 21:19:37 +08:00
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:
parent
912d5a6ee7
commit
429d0ef625
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user