Adjust content section padding and homepage banner position

pull/376/head
Ryan Arthur 7 years ago committed by Stamates
parent cda28cda1d
commit 43b5620a61
  1. 1
      apps/explorer_web/assets/css/components/_dashboard-banner.scss
  2. 5
      apps/explorer_web/assets/css/components/_navbar.scss
  3. 2
      apps/explorer_web/lib/explorer_web/templates/layout/app.html.eex

@ -1,5 +1,6 @@
.dashboard-banner-container { .dashboard-banner-container {
position: relative; position: relative;
margin-top: -3rem;
background-color: $white; background-color: $white;
box-shadow: 0 5px 40px -5px rgba($black, 0.25); box-shadow: 0 5px 40px -5px rgba($black, 0.25);

@ -1,3 +1,8 @@
.navbar {
position: relative;
z-index: 10;
}
.navbar-logo { .navbar-logo {
height: 36px; height: 36px;
} }

@ -11,7 +11,7 @@
<body> <body>
<div class="layout-container"> <div class="layout-container">
<%= render ExplorerWeb.LayoutView, "_topnav.html", assigns %> <%= render ExplorerWeb.LayoutView, "_topnav.html", assigns %>
<main class="mt-3"> <main class="pt-5">
<p class="alert alert-info" role="alert"><%= get_flash(@conn, :info) %></p> <p class="alert alert-info" role="alert"><%= get_flash(@conn, :info) %></p>
<p class="alert alert-danger" role="alert"><%= get_flash(@conn, :error) %></p> <p class="alert alert-danger" role="alert"><%= get_flash(@conn, :error) %></p>
<%= render @view_module, @view_template, assigns %> <%= render @view_module, @view_template, assigns %>

Loading…
Cancel
Save