mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(schematics): sidenav toolbar should use default background (#13282)
This commit is contained in:
committed by
Jeremy Elbourn
parent
1afddfb71e
commit
c454f7bb46
+4
@@ -6,6 +6,10 @@
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
.sidenav .mat-toolbar {
|
||||
background: inherit;
|
||||
}
|
||||
|
||||
.mat-toolbar.mat-primary {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
|
||||
+1
-1
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user