Skip to content

Commit

Permalink
Fix admin flash position without inline styling
Browse files Browse the repository at this point in the history
  • Loading branch information
mvz committed Nov 12, 2023
1 parent bff75ef commit e92f16a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/assets/stylesheets/administration_structure.css.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* General */

body {
padding-top: 40px;
padding-top: 60px;
}

footer {
Expand Down
4 changes: 1 addition & 3 deletions app/views/layouts/administration.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
<body>
<%= render 'admin/shared/menu' %>
<div class='container-fluid'>
<div style='margin-top:20px'>
<%= render 'shared/flash', flash: flash %>
</div>
<%= render 'shared/flash', flash: flash %>
<% if content_for?(:page_heading) %>
<div class='page-header'>
<%= yield :page_heading %>
Expand Down

0 comments on commit e92f16a

Please sign in to comment.