mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 06:03:38 +08:00
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:
parent
39333253d9
commit
729ad9dfa1
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user