From a35d85d7dfeb89c7e4967671e8aff0ebe2ae78cc Mon Sep 17 00:00:00 2001 From: Isaac Grynsztein Date: Wed, 25 Mar 2020 17:05:50 -0400 Subject: [PATCH] Added elevation to top toolbar and made it "sticky". That means when users scroll, the toolbar will scroll with --- src/app/app.component.css | 8 ++++++++ src/app/app.component.html | 8 ++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/app/app.component.css b/src/app/app.component.css index a902545..59009fe 100644 --- a/src/app/app.component.css +++ b/src/app/app.component.css @@ -16,4 +16,12 @@ top: 2px; left: 10px; position: relative; +} + +.sidenav-container { + z-index: -1 !important; +} + +.top-toolbar { + height: 64px; } \ No newline at end of file diff --git a/src/app/app.component.html b/src/app/app.component.html index 8291ae3..ae8ba4b 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,13 +1,13 @@
-
- +
+
-
{{topBarTitle}}
+
{{topBarTitle}}
@@ -30,7 +30,7 @@
-
+