fix: Fix the width of the step content in the horizontal direction (#27406)

* chore: code style

* Revert "feat: remove content max-width on dot-step (#24907)"

This reverts commit 0879bd5df3.

* chore: revert code style
This commit is contained in:
Amumu 2020-10-27 23:58:38 +08:00 committed by GitHub
parent 39333253d9
commit 729ad9dfa1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,6 +47,9 @@
}
}
}
&-content {
width: @steps-desciption-max-width;
}
&-process .@{steps-prefix-cls}-item-icon {
position: relative;
top: -1px;
@ -73,6 +76,9 @@
.@{steps-prefix-cls}-item:first-child .@{steps-prefix-cls}-icon-dot {
left: 0;
}
.@{steps-prefix-cls}-item-content {
width: inherit;
}
.@{steps-prefix-cls}-item-process .@{steps-prefix-cls}-icon-dot {
left: -2px;
}