Skip to content

Commit dac84bf

Browse files
authored
fix(material-experimental/mdc-mdc): menu items missing padding (#19634)
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.
1 parent 3e3e2c5 commit dac84bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/material-experimental/mdc-menu/menu.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
// Note that we include this private mixin, because the public
3939
// one adds a bunch of styles that we aren't using for the menu.
4040
@include mdc-list-item-base_;
41+
@include mdc-list-list-item-padding-variant(
42+
$mdc-list-textual-variant-config, $query: $mat-base-styles-query);
4143

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

0 commit comments

Comments
 (0)