From d74e38c6fda49fdeecb1ef715fe840667345cdbd Mon Sep 17 00:00:00 2001 From: Michael Prentice Date: Tue, 25 Sep 2018 10:04:58 -0400 Subject: [PATCH] fix(schematics): toolbar in nav w/o z-index causes issues with dashboard (#13270) Without this z-index, scrolling a dashboard causes issues - headers and background scroll under toolbar - cards scroll over top of the toolbar --- .../__name@dasherize__.component.__styleext__ | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/schematics/nav/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__styleext__ b/src/lib/schematics/nav/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__styleext__ index 0b3a9a97bab..055a49fe844 100644 --- a/src/lib/schematics/nav/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__styleext__ +++ b/src/lib/schematics/nav/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__styleext__ @@ -9,4 +9,5 @@ .mat-toolbar.mat-primary { position: sticky; top: 0; + z-index: 1; }