Skip to content

Commit 408ea54

Browse files
committed
Fix: List progress bar visiblity
1 parent 6de254f commit 408ea54

File tree

1 file changed

+2
-1
lines changed
  • packages/components/src/styles/components/stepper

1 file changed

+2
-1
lines changed

packages/components/src/styles/components/stepper/list.scss

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ $hds-stepper-list-step-padding-bottom: 16px;
3232
position: absolute;
3333
top: 1px;
3434
left: 11px;
35+
z-index: -1;
3536
width: 2px;
3637
content: "";
3738
}
@@ -42,7 +43,6 @@ $hds-stepper-list-step-padding-bottom: 16px;
4243
}
4344

4445
&::after {
45-
z-index: -1;
4646
background-color: var(--token-color-palette-neutral-700);
4747
}
4848
}
@@ -51,6 +51,7 @@ $hds-stepper-list-step-padding-bottom: 16px;
5151

5252
.hds-stepper-list__step-progress {
5353
position: relative;
54+
z-index: 0;
5455
}
5556

5657
.hds-stepper-list__step-text {

0 commit comments

Comments
 (0)