Skip to content

Commit

Permalink
fix(material-experimental/mdc-mdc): menu items missing padding (#19634)
Browse files Browse the repository at this point in the history
Fixes the MDC menu items not having the proper padding. This was fixed initially in #19548 and reverted by devversion@b251796, but it was never re-fixed.
  • Loading branch information
crisbeto authored and mmalerba committed Jun 17, 2020
1 parent 06c7ab7 commit 9b8baa6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/material-experimental/mdc-menu/menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
// Note that we include this private mixin, because the public
// one adds a bunch of styles that we aren't using for the menu.
@include mdc-list-item-base_;
@include mdc-list-list-item-padding-variant(
$mdc-list-textual-variant-config, $query: $mat-base-styles-query);

// MDC's menu items are `<li>` nodes which don't need resets, however ours
// can be anything, including buttons, so we need to do the reset ourselves.
Expand Down

0 comments on commit 9b8baa6

Please sign in to comment.