Skip to content

Commit bbeb5ef

Browse files
crisbetommalerba
authored andcommitted
fix(stepper): incorrect border color in dark theme for header with label position (#13791)
Fixes the extra border that gets added in `labelPosition="bottom"` not being colored based on the theme.
1 parent 65dd75d commit bbeb5ef

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/lib/stepper/_stepper-theme.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@
5454
border-left-color: mat-color($foreground, divider);
5555
}
5656

57+
.mat-horizontal-stepper-header::before,
58+
.mat-horizontal-stepper-header::after,
5759
.mat-stepper-horizontal-line {
5860
border-top-color: mat-color($foreground, divider);
5961
}

src/lib/stepper/stepper.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ $mat-stepper-line-gap: 8px !default;
4040
}
4141

4242
%mat-header-horizontal-line-label-position-bottom {
43-
border-top-color: rgba(0, 0, 0, 0.12);
4443
border-top-width: $mat-stepper-line-width;
4544
border-top-style: solid;
4645
content: '';

0 commit comments

Comments
 (0)