Skip to content

Commit 9cd8559

Browse files
authored
fix(step): link cursor not working on a tags
The cursor was not changed on link steps inside circular steps when only the anchor tag was used
1 parent 51bc85c commit 9cd8559

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

src/definitions/elements/step.less

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,10 +204,6 @@
204204
left: @circularStepIconDistance;
205205
}
206206

207-
&.link::before,
208-
&.link::after {
209-
cursor: pointer;
210-
}
211207
&.completed {
212208
background: @circularStepCompletedBackground;
213209
}
@@ -236,6 +232,15 @@
236232
}
237233
}
238234
}
235+
236+
& a.step::before,
237+
& a.step::after,
238+
& a.step .content,
239+
& .step.link .content,
240+
& .step.link::before,
241+
& .step.link::after {
242+
cursor: pointer;
243+
}
239244
}
240245

241246
& .step {
@@ -590,6 +595,7 @@
590595
.ui.circular.steps .disabled.step {
591596
cursor: auto;
592597
opacity: @circularStepDisabledItemOpacity;
598+
pointer-events: none;
593599

594600
&::before,
595601
&::after {

0 commit comments

Comments
 (0)