Skip to content

Commit 2c99187

Browse files
authored
Merge pull request arco-design#3035 from arco-design/fix-tail
fix(steps): fix tail color problem
2 parents 8509faf + 13fa233 commit 2c99187

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

components/Steps/style/circle.less

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,19 +140,19 @@
140140
}
141141

142142
&-label-horizontal > &-item&-item-process {
143-
.@{steps-prefix-cls}-item-title::after {
143+
.@{steps-prefix-cls}-item-content .@{steps-prefix-cls}-item-title::after {
144144
background-color: @steps-circle-color-item-tail_wait;
145145
}
146146
}
147147

148148
&-label-horizontal > &-item&-item-finish {
149-
.@{steps-prefix-cls}-item-title::after {
149+
.@{steps-prefix-cls}-item-content .@{steps-prefix-cls}-item-title::after {
150150
background-color: @steps-circle-color-item-tail_process;
151151
}
152152
}
153153

154154
&-label-horizontal > &-item&-item-next-error {
155-
.@{steps-prefix-cls}-item-title::after {
155+
.@{steps-prefix-cls}-item-content .@{steps-prefix-cls}-item-title::after {
156156
background-color: @steps-circle-color-item-tail_error;
157157
}
158158
}
@@ -197,11 +197,11 @@
197197
}
198198
}
199199

200-
&-item:not(:last-child)&-item-finish &-item-tail::after {
200+
& &-item:not(:last-child)&-item-finish &-item-tail::after {
201201
background-color: @steps-circle-color-item-tail_process;
202202
}
203203

204-
&-item:not(:last-child)&-item-next-error &-item-tail::after {
204+
& &-item:not(:last-child)&-item-next-error &-item-tail::after {
205205
background-color: @steps-circle-color-item-tail_error;
206206
}
207207

0 commit comments

Comments
 (0)