I am using Angular 6 mat-horizontal-stepper. I want to give some specific width to it and want to keep it in center of page.
For mat-horizontal-content-container i am able to keep it in center
.mat-horizontal-content-container
text-align: center;
overflow: hidden;
padding: 0;
But how to keep the header to center of page.I am trying this but it is not working.
.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container
width: fit-content !important;
align-items: center;
Can anyone please help me with this.