From 43b5620a6172fd0443cdd7f3dc254f89b705bf1b Mon Sep 17 00:00:00 2001 From: Ryan Arthur Date: Fri, 29 Jun 2018 09:18:49 -0400 Subject: [PATCH] Adjust content section padding and homepage banner position --- .../assets/css/components/_dashboard-banner.scss | 1 + apps/explorer_web/assets/css/components/_navbar.scss | 5 +++++ .../lib/explorer_web/templates/layout/app.html.eex | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/explorer_web/assets/css/components/_dashboard-banner.scss b/apps/explorer_web/assets/css/components/_dashboard-banner.scss index 5f0d2fad90..14a4031eb4 100644 --- a/apps/explorer_web/assets/css/components/_dashboard-banner.scss +++ b/apps/explorer_web/assets/css/components/_dashboard-banner.scss @@ -1,5 +1,6 @@ .dashboard-banner-container { position: relative; + margin-top: -3rem; background-color: $white; box-shadow: 0 5px 40px -5px rgba($black, 0.25); diff --git a/apps/explorer_web/assets/css/components/_navbar.scss b/apps/explorer_web/assets/css/components/_navbar.scss index ad300ee2f5..54103f82b3 100644 --- a/apps/explorer_web/assets/css/components/_navbar.scss +++ b/apps/explorer_web/assets/css/components/_navbar.scss @@ -1,3 +1,8 @@ +.navbar { + position: relative; + z-index: 10; +} + .navbar-logo { height: 36px; } diff --git a/apps/explorer_web/lib/explorer_web/templates/layout/app.html.eex b/apps/explorer_web/lib/explorer_web/templates/layout/app.html.eex index 4ae2bd1534..5e41ac4794 100644 --- a/apps/explorer_web/lib/explorer_web/templates/layout/app.html.eex +++ b/apps/explorer_web/lib/explorer_web/templates/layout/app.html.eex @@ -11,7 +11,7 @@
<%= render ExplorerWeb.LayoutView, "_topnav.html", assigns %> -
+
<%= render @view_module, @view_template, assigns %>