fix(card): flat card selector not working (#11028)

Fixes the `.mat-flat-card` selector not working due to its specificity being too low.

Fixes #11014.
This commit is contained in:
Kristiyan Kostadinov
2018-04-26 19:15:00 -04:00
committed by Andrew Seguin
parent e7b5bd4c7c
commit b67813ef83
+5 -4
View File
@@ -32,15 +32,16 @@ $mat-card-header-size: 40px !default;
}
}
// Needs extra specificity to be able to override the elevation selectors.
&.mat-card-flat {
box-shadow: none;
}
@include cdk-high-contrast {
outline: solid 1px;
}
}
.mat-card-flat {
box-shadow: none;
}
// base styles for each card section preset (mat-card-content, etc)
%mat-card-section-base {
display: block;