ant-design/components/steps/style/progress.less
Fachreza Muslim ade92eb1bd
fix: Steps with progress - Circle get cut at the bottom (#30373)
* Step with progress - Circle get cut at the bottom

* rtl step with progress - circle get cut at the right
2021-05-05 22:46:31 +08:00

29 lines
545 B
Plaintext

@progress-prefix-cls: ~'@{ant-prefix}-progress';
.@{steps-prefix-cls}-with-progress {
.@{steps-prefix-cls}-item {
padding-top: 4px;
.@{steps-prefix-cls}-item-tail {
top: 4px !important;
}
}
&.@{steps-prefix-cls}-horizontal .@{steps-prefix-cls}-item:first-child {
padding-bottom: 4px;
padding-left: 4px;
}
.@{steps-prefix-cls}-item-icon {
position: relative;
.@{progress-prefix-cls} {
position: absolute;
top: -5px;
right: -5px;
bottom: -5px;
left: -5px;
}
}
}