From bcb649be5cba70c8be174506db49c0adb5f761a5 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Sat, 4 Sep 2021 20:49:13 +0200 Subject: [PATCH] fix(material/card): use more specific selector for divider override Fixes that the card targets all dividers which may include ones placed inside child components. Fixes #23524. --- src/material/card/card.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/material/card/card.scss b/src/material/card/card.scss index e208e4a6d098..7b3c05274634 100644 --- a/src/material/card/card.scss +++ b/src/material/card/card.scss @@ -17,7 +17,7 @@ $header-size: 40px !default; padding: $padding; border-radius: $border-radius; - .mat-divider-horizontal { + > .mat-divider-horizontal { position: absolute; left: 0; width: 100%;