Skip to content

Commit 47517b6

Browse files
authored
fix(material/card): use more specific selector for divider override (#23531)
Fixes that the card targets all dividers which may include ones placed inside child components. Fixes #23524.
1 parent 0f15d19 commit 47517b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material/card/card.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ $header-size: 40px !default;
1717
padding: $padding;
1818
border-radius: $border-radius;
1919

20-
.mat-divider-horizontal {
20+
> .mat-divider-horizontal {
2121
position: absolute;
2222
left: 0;
2323
width: 100%;

0 commit comments

Comments
 (0)