Use same structure on new and edit budget forms
The margin between the heading and the form was different due to margin collapsing, which applied in one case but not the other.
This commit is contained in:
@@ -5,6 +5,10 @@
|
||||
clear: both;
|
||||
margin-top: $line-height * 1.5;
|
||||
|
||||
&:first-of-type {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
legend {
|
||||
color: $admin-text;
|
||||
font-size: $small-font-size;
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
<h2><%= t("admin.budgets.new.title") %></h2>
|
||||
<%= back_link_to admin_budgets_path %>
|
||||
|
||||
<header>
|
||||
<h2><%= t("admin.budgets.new.title") %></h2>
|
||||
</header>
|
||||
|
||||
<%= render "/admin/budgets/form" %>
|
||||
|
||||
Reference in New Issue
Block a user