Reputation: 2207
I am building a chat using Angular 4 and Angular Material and I am trying to display some information on a sidenav. I am using sidenav from Angular Material, but I am willing to customize the styling and to get rid of the shadow that appears when the sidenav is open.
In the styles.css file I tried this:
.mat-sidenav-transition .mat-sidenav-backdrop.mat-sidenav-shown {
transition: background-color .4s cubic-bezier(.01,.1,.25,1);
background-color: transparent;
}
.mat-sidenav-backdrop.mat-sidenav-shown {
background-color: transparent;
}
I also tried to use ::ng-deep
but it won't work.
Upvotes: 1
Views: 3908