fix(schematics): sidenav toolbar should use default background (#13282)

This commit is contained in:
Michael Prentice
2018-09-25 15:53:43 -04:00
committed by Jeremy Elbourn
parent 1afddfb71e
commit c454f7bb46
2 changed files with 5 additions and 1 deletions
@@ -6,6 +6,10 @@
width: 200px;
}
.sidenav .mat-toolbar {
background: inherit;
}
.mat-toolbar.mat-primary {
position: sticky;
top: 0;
@@ -6,7 +6,7 @@
[attr.role]="(isHandset$ | async) ? 'dialog' : 'navigation'"
[mode]="(isHandset$ | async) ? 'over' : 'side'"
[opened]="!(isHandset$ | async)">
<mat-toolbar color="primary">Menu</mat-toolbar>
<mat-toolbar>Menu</mat-toolbar>
<mat-nav-list>
<a mat-list-item href="#">Link 1</a>
<a mat-list-item href="#">Link 2</a>