Group styles setting padding to the main content
So we don't add the same lines to pretty much every stylesheet we create. Eventually we'll remove this code and add a padding to every <main> element, or (even better) to the <body> element itself.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<% provide(:title) { goal.title } %>
|
||||
|
||||
<div class="sdg-goal-show">
|
||||
<main class="sdg-goal-show">
|
||||
<%= back_link_to sdg_goals_path %>
|
||||
|
||||
<article class="sdg-goal sdg-goal-<%= code %>">
|
||||
@@ -36,4 +36,4 @@
|
||||
<% end %>
|
||||
|
||||
<%= render SDG::Goals::TargetsComponent.new(goal) %>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
Reference in New Issue
Block a user