From bcc25f3e5fbbefd614ed660483da0901c58dbe88 Mon Sep 17 00:00:00 2001 From: Miles Malerba Date: Tue, 28 Sep 2021 23:54:52 +0000 Subject: [PATCH] fix(material-experimental/mdc-menu): Use body1 typography for menu content We already fixed this for menu items, but MDC also sets the wrong typograph level on the menu content element, which can bleed through into people's custom menu content. --- src/material-experimental/mdc-menu/_menu-theme.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/material-experimental/mdc-menu/_menu-theme.scss b/src/material-experimental/mdc-menu/_menu-theme.scss index f84c6aa13296..c6e467c657c5 100644 --- a/src/material-experimental/mdc-menu/_menu-theme.scss +++ b/src/material-experimental/mdc-menu/_menu-theme.scss @@ -57,6 +57,7 @@ // MDC uses the `subtitle1` level for list items, but the spec shows `body1` as the correct // level. + &, .mat-mdc-menu-item .mdc-list-item__primary-text { @include mdc-typography.typography(body1, $query: mdc-helpers.$mat-typography-styles-query); }