Skip to content

Commit 66c6122

Browse files
committed
fix(schematics): sidenav toolbar should use default background
it should also have a bottom border rather than elevation
1 parent 3bc52df commit 66c6122

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

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

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

9+
.sidenav .mat-toolbar {
10+
background: inherit;
11+
border-bottom: solid 1px rgba(0, 0, 0, 0.12);
12+
}
13+
914
.mat-toolbar.mat-primary {
1015
position: sticky;
1116
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)