Reputation: 429
I'm using angular 9 and less in my project.And I have a mat-menu-panel where my mat-menu-item is on that panel.I can change the color of my mat-menu-item a follows.
But How can I change the background color of the panel.i need to change the color of that white space.Please help
Upvotes: 1
Views: 1978
Reputation: 429
I have solved this by changing the styles.less less file.
.mat-menu-panel.ng-trigger {
background: transparent;
min-width: 1%;
min-height: 1%;
}
Upvotes: 1
Reputation: 3124
You haven't really provided enough clear information here but it is probably
.mat-menu-content{
background-color: red;
}
Upvotes: 0