Skip to content

Commit

Permalink
Replace mb1 with margin-bottom-4
Browse files Browse the repository at this point in the history
100px is roughly equal to 4em in the current font size so I think we can
make this change without disrupting the look of the site.
  • Loading branch information
koddsson committed May 25, 2020
1 parent 0abd129 commit 96c6e45
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 9 deletions.
4 changes: 0 additions & 4 deletions app/assets/stylesheets/partials/_margins.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
.mb1 {
margin-bottom: 100px;
}

.mt1 {
margin-top: 50px;
}
Expand Down
2 changes: 1 addition & 1 deletion app/views/admin/jobs/index.html.haml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.job.mb1
.job.margin-bottom-4
.stripe
.row
.large-12.columns
Expand Down
2 changes: 1 addition & 1 deletion app/views/admin/jobs/show.html.haml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.job.mb1
.job.margin-bottom-4
.stripe
.row
.large-12.columns
Expand Down
2 changes: 1 addition & 1 deletion app/views/member/jobs/show.html.haml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.job.mb1
.job.margin-bottom-4
.stripe
.row
.large-12.columns
Expand Down
2 changes: 1 addition & 1 deletion app/views/pages/cookie-policy.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@
| ---- | ------- | ----- |
| `_cfduid` | #{t('pages.cookies.cloudflare.cfduid')} | #{t('pages.cookies.cloudflare.cfduid_expiry')} |

<div class='mb1' >&nbsp;</div>
<div class='margin-bottom-4'>&nbsp;</div>
2 changes: 1 addition & 1 deletion app/views/pages/privacy-policy.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@
#{t('pages.privacy_policy.contact.text')}


<div class='mb1' >&nbsp;</div>
<div class='margin-bottom-4'>&nbsp;</div>

0 comments on commit 96c6e45

Please sign in to comment.