Simplify main admin header margin rules

Instead of having a header with a bottom margin followed by an element
with a negative margin, it makes more sense to have no margin on either
element.
This commit is contained in:
Javi Martín
2020-05-09 00:47:55 +02:00
parent 7880573635
commit c362e1190f
4 changed files with 7 additions and 3 deletions

View File

@@ -9,7 +9,7 @@
<body class="admin">
<%= render "layouts/admin_header" %>
<div class="menu-and-content no-margin-top">
<div class="menu-and-content">
<%= check_box_tag :show_menu, nil, false, role: "switch" %>
<nav id="side_menu" class="admin-sidebar">