Skip to content

Commit c454f7b

Browse files
Splaktarjelbourn
authored andcommitted
fix(schematics): sidenav toolbar should use default background (#13282)
1 parent 1afddfb commit c454f7b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/lib/schematics/nav/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__styleext__

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
width: 200px;
77
}
88

9+
.sidenav .mat-toolbar {
10+
background: inherit;
11+
}
12+
913
.mat-toolbar.mat-primary {
1014
position: sticky;
1115
top: 0;

src/lib/schematics/nav/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[attr.role]="(isHandset$ | async) ? 'dialog' : 'navigation'"
77
[mode]="(isHandset$ | async) ? 'over' : 'side'"
88
[opened]="!(isHandset$ | async)">
9-
<mat-toolbar color="primary">Menu</mat-toolbar>
9+
<mat-toolbar>Menu</mat-toolbar>
1010
<mat-nav-list>
1111
<a mat-list-item href="#">Link 1</a>
1212
<a mat-list-item href="#">Link 2</a>

0 commit comments

Comments
 (0)