From d7b09c01b301abb0d12cfbd4a441c53c09ba8bd8 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Thu, 10 Feb 2022 11:46:09 +0100 Subject: [PATCH] docs(material/datepicker): fix custom class example The changes in #24171 added a `background: none` to the datepicker cell which broke one of the examples, because it increased the specificity. I don't think that there's a good way to reduce the specificity without moving the entire cell template around again so these changes update the example to be more specific. Fixes #24383. --- .../datepicker-date-class/datepicker-date-class-example.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components-examples/material/datepicker/datepicker-date-class/datepicker-date-class-example.css b/src/components-examples/material/datepicker/datepicker-date-class/datepicker-date-class-example.css index 3a0cabf713d3..d4452c62c453 100644 --- a/src/components-examples/material/datepicker/datepicker-date-class/datepicker-date-class-example.css +++ b/src/components-examples/material/datepicker/datepicker-date-class/datepicker-date-class-example.css @@ -1,4 +1,4 @@ -.example-custom-date-class { +button.example-custom-date-class { background: orange; border-radius: 100%; }