Skip to content

Commit

Permalink
fix(stepper): incorrect border color in dark theme for header with la…
Browse files Browse the repository at this point in the history
…bel position (#13791)

Fixes the extra border that gets added in `labelPosition="bottom"` not being colored based on the theme.
  • Loading branch information
crisbeto authored and mmalerba committed Oct 26, 2018
1 parent 5abb644 commit afa5a28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/lib/stepper/_stepper-theme.scss
Expand Up @@ -54,6 +54,8 @@
border-left-color: mat-color($foreground, divider);
}

.mat-horizontal-stepper-header::before,
.mat-horizontal-stepper-header::after,
.mat-stepper-horizontal-line {
border-top-color: mat-color($foreground, divider);
}
Expand Down
1 change: 0 additions & 1 deletion src/lib/stepper/stepper.scss
Expand Up @@ -40,7 +40,6 @@ $mat-stepper-line-gap: 8px !default;
}

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

0 comments on commit afa5a28

Please sign in to comment.