Skip to content

Commit

Permalink
Flash messages were being hidden. Needed to move up the DOM.
Browse files Browse the repository at this point in the history
  • Loading branch information
jarodreyes committed Jul 31, 2015
1 parent 4b05934 commit 9959f88
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions app/assets/stylesheets/scaffolds.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ div {
background-color: red;
display: table;
}
.flash-above {
position: absolute;
width:100%;
z-index: 1010;
padding: 20px;
top: 80px;
}

#error_explanation {
width: 450px;
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

<%= yield :hero %>
<section id="main" class="push-nav">
<%= flash_messages %>
<div class="flash-above"><%= flash_messages %></div>
<%= yield %>
</section>

Expand Down

0 comments on commit 9959f88

Please sign in to comment.