-2

Kindly check my code snippet stackblitz

image

j3ff
  • 5,719
  • 8
  • 38
  • 51

2 Answers2

1

You have to manually align either the head or the separator line. For the ease, I modified the head. On file styles.scss, after line 26, add this top:-6px!important. You get the idea.

Dragos Andrei
  • 305
  • 1
  • 7
1

you can add the below styles to make it work

.mat-step-header::after, .mat-step-header::before, .mat-stepper-horizontal-line {
  top: 42px !important;
}

working example stackblitz