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,5 @@
|
||||
.budget-investment-new {
|
||||
$border-width: 4px;
|
||||
@include grid-column-gutter;
|
||||
|
||||
h1 {
|
||||
margin-bottom: 0;
|
||||
|
||||
@@ -66,6 +66,12 @@ body {
|
||||
|
||||
main {
|
||||
display: block;
|
||||
|
||||
&.budget-investment-new,
|
||||
&.sdg-goals-index,
|
||||
&.sdg-goal-show {
|
||||
@include grid-column-gutter;
|
||||
}
|
||||
}
|
||||
|
||||
h1,
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
.sdg-goals-index {
|
||||
@include grid-column-gutter;
|
||||
|
||||
.section-header {
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
.sdg-goal-show {
|
||||
@include grid-column-gutter;
|
||||
|
||||
.sdg-goal {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user