File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 9
9
10
10
@include mdc-menu-surface-core-styles ($query : structure);
11
11
12
+ // Prevent rendering mat-menu as it can affect the flex layout.
13
+ mat-menu {
14
+ display : none ;
15
+ }
16
+
12
17
.mat-mdc-menu-content {
13
18
// Note that we include this private mixin, because the public
14
19
// one adds a bunch of styles that we aren't using for the menu.
Original file line number Diff line number Diff line change @@ -7,6 +7,11 @@ $mat-menu-vertical-padding: 8px !default;
7
7
$mat-menu-border-radius : 4px !default ;
8
8
$mat-menu-submenu-indicator-size : 10px !default ;
9
9
10
+ // Prevent rendering mat-menu as it can affect the flex layout.
11
+ mat-menu {
12
+ display : none ;
13
+ }
14
+
10
15
.mat-menu-panel {
11
16
@include mat-menu-base ();
12
17
max-height : calc (100vh - #{$mat-menu-item-height } );
You can’t perform that action at this time.
0 commit comments