diff --git a/src/lib/list/_list-theme.scss b/src/lib/list/_list-theme.scss index 2a064b4a9bdc..9bb1ad9cc0db 100644 --- a/src/lib/list/_list-theme.scss +++ b/src/lib/list/_list-theme.scss @@ -46,7 +46,8 @@ } .mat-subheader { - @include mat-typography-level-to-styles($config, body-2); + font: mat-font-weight($config, body-2) mat-font-size($config, body-2) + mat-font-family($config, body-2); } } diff --git a/src/lib/list/list.scss b/src/lib/list/list.scss index aee5121afba1..7f91e6596895 100644 --- a/src/lib/list/list.scss +++ b/src/lib/list/list.scss @@ -121,6 +121,7 @@ $mat-dense-list-icon-size: 20px; // This mixin adjusts the heights and padding based on whether the list is in dense mode. @mixin mat-subheader-spacing($top-padding, $base-height) { height: $base-height; + line-height: $base-height - $mat-list-side-padding * 2; &:first-child { margin-top: -$top-padding;