Skip to content

Commit 12c8595

Browse files
committed
fixup list a job footer CSS
1 parent 944289f commit 12c8595

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

app/assets/stylesheets/layouts/_footer.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
border: 0;
99
margin-bottom: 0;
1010
padding: 0;
11+
// prevent button-to's in footer
12+
// having a button-like background
13+
background-color: inherit;
1114
}
1215
}
1316
}

app/views/layouts/_footer.html.slim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
ul.govuk-footer__list
2828
- if publisher_signed_in?
2929
li.govuk-footer__list-item
30-
= button_to(t("footer.list_a_teaching_job"), organisation_jobs_path, class: "govuk-footer__link govuk-body-m")
30+
= button_to t("footer.list_a_teaching_job"), organisation_jobs_path, class: "govuk-footer__link govuk-body-m"
3131
li.govuk-footer__list-item
3232
= link_to t("footer.manage_job_listings"), organisation_jobs_with_type_path, class: "govuk-footer__link"
3333
- else

0 commit comments

Comments
 (0)